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, Ed, biapar, Willr, Ingo

How to sort by field on published site

Go to End



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 file and would a function be needed in BooksHolder.php?