Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

How to sort by field on published site


Reply


912 Views

Avatar
RobertM

Community Member, 26 Posts

3 September 2008 at 12:51am

Edited: 03/09/2008 12:52am

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?