Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » How to sort by field on published site

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 868 Views
  • RobertM
    Community Member
    26 Posts

    How to sort by field on published site Link to this post

    Suppose we have a holder page BooksHolder, that displays certain fields from BooksPage - how can we in the template allow the site user to reorder the list of books in the holder eg. order by author or price - perhaps by hyperlink or dropdown? How would this be implemented in the BooksHolder.ss file and would a function be needed in BooksHolder.php?

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.