Tuesday 26 June 2007 7:48:34 pm
Paul, One way would be to use the fetch function (http://ez.no/doc/ez_publish/technical_manual/3_9/reference/modules/content/fetch_functions/list): fetch( 'content', 'list',
hash( 'parent_node_id', parent_node_id,
[ 'sort_by', sort_by, ]
Perhaps something like this would be a start? {def $pauls_list=fetch( 'content', 'list',
hash( 'parent_node_id', $node.node_id,
'sort_by', array( 'attribute', 1, 'pauls_class/start_date') ) )}
{foreach $pauls_list as $children}
{node_view_gui content_node=$children view="line"}
{/foreach}
Replace "pauls_class" with the class of objects being sorted, and "start_date" with the identifier of "start date", if necessary.
Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog
|