Saturday 26 February 2005 7:03:20 am
Rebuild multidimensional to one demensional array and then use unique function. This should work if they have the same node_id (duplicated), If not then you must build array with their names for example.
{let node_array=array()}
{section loop=fetch( content, tree, hash( parent_node_id, 2 ) ) }
{set node_array=$node_array|append( $item.node_id ) }
{/section}
{section loop=$node_array|unique}
Loops without duplicated values
{/section}
{/let}
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|