Create a list windget whit pagination?

Topics: Administration, Customizing Orchard, General, Installing Orchard
Sep 27, 2012 at 3:05 PM

is that possible? 

according the documentation this is imposible

says:

Note Pagination is available only on list pages and not on list widgets. This is by design, because pagination within a widget would allow multiple pagers on the same page, which could be confusing.

 

...but somebody have a idea? i need to do this

pliss help :D

Saludos.-

Coordinator
Sep 27, 2012 at 6:21 PM

You should create a Projection Widget, which works with pagination. There is a Suffix property on this widget to distinguish each pager parameter.

Sep 27, 2012 at 8:33 PM

Hi,

I opened a thread (http://orchard.codeplex.com/discussions/396994) and you proposed the solution.

I create a query, I try to display a list of ebook with a specific EbookTypeId

Add in filter EbookTypeIds

EbookTypeIds is equal to {40} I put {40} because when the mouse hovers the EbookTypeId Roman I can see http://localhost:30320/OrchardLocal/Admin/Contents/Edit/40

I am not sure to use the right syntax, when I click on the filter for EbookTypeIds, the dropdownlist proposed {Content.Fields.Ebook.EbookType}.

I choose no description, no grid.

In preview "The query returned no results"

Create a projection. Choose the query created.

When I browse the projection, I have no item.

Do you have any idea?


Best regards,

Alexandre

Oct 1, 2012 at 5:01 PM

Finally, it links to 

http://orchard.codeplex.com/discussions/397014