Does anyone know how to use the PaginatedList, both in the CMS and the frontend?
Thank you very much.
gh
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Does anyone know how to use the PaginatedList, both in the CMS and the frontend?
Thank you very much.
gh
may you describe your problem with more details?
PaginatedList is neither a Page nor a PageHolder, so I can't put it in the SiteTree, like BlogTree of BlogHolder. So how do I get it on a Page?
Furthermore, I think a PaginatedList is a SS_ListDecorator, so I figure it handles anything that is derived from SS_List, like DataList, which can be a list of Pages, right?
Finally, I wonder why BlogHolder doesn't use PaginatedList for BlogEntries - or does it, in some magic-behind-the-scenes?
Unfortunately, I didn't find any documentation anywhere. So if you could enlighten me I would highly appreciate it.
Thank you very much.
gh
By the sounds of it you're playing around with trunk? None of the modules have been updated to use the new ORM API's in trunk yet so there may be a mix of 'old' and new methods flying around.