Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Saturday 06 May 2006 6:56:34 am - 2 replies
Pascal France
Saturday 06 May 2006 8:15:40 am
Hi,
I found a dirty solution:
1 {def 2 $nodes1=fetch( 'content', 'list', hash( 'parent_node_id', $node.node_id, 'sort_by', array(array('priority', true())) ) ) 3 $aaa=$node "" "" "" 19 {undef}
...and then I replace all "$node" instances in the template by "$aaa"
But I think there is a clean solution.
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
Sunday 07 May 2006 3:17:26 am
A more easy solution is:
1 {def 2 $nodes1=fetch( 'content', 'list', hash( 'parent_node_id', $node.node_id, 'sort_by', array(array('priority', true())) ) ) 3 $aaa=$node "" "" "" 19 {undef} 20 {def $node=$aaa}
Like that, I needn't to replace all $node instances.
But I really don't understand why I have to do that.
You must be logged in to post messages in this topic!