Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » How does one use a PaginatedList

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 472 Views
  • gh
    Avatar
    Community Member
    10 Posts

    How does one use a PaginatedList Link to this post

    Does anyone know how to use the PaginatedList, both in the CMS and the frontend?

    Thank you very much.

    gh

  • danzzz
    Avatar
    Community Member
    175 Posts

    Re: How does one use a PaginatedList Link to this post

    may you describe your problem with more details?

  • gh
    Avatar
    Community Member
    10 Posts

    Re: How does one use a PaginatedList Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5503 Posts

    Re: How does one use a PaginatedList Link to this post

    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.

    472 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.