Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Tuesday 14 September 2010 2:42:06 am - 1 reply
Matthieu Sévère
Tuesday 14 September 2010 2:48:06 am
Hi !
You can use view_parameters to control to sort parameters of your fetch.
For example you can have a link that sort by date :
<a href={'Your/URLAlias/(sort)/date'|ezurl}>Sort By date</a>
By clicking on this link you will define a view_parameters sort with the value date
You can then retrieve this value in a template like this :
{def $sort_method = $view_parameters.sort}
-- eZ certified developer: http://ez.no/certification/verify/346216
You must be logged in to post messages in this topic!