Wednesday 09 February 2005 1:54:08 am
Hi, I would like to know if the is a way of buildning an array inside a loop. I would like the remaining items (see the code below) to be items in a new array. After that I want to count the items in the new array. Is it possible? This is the loop, so far:
{section name=Child loop=fetch('content','list', hash(parent_node_id, $node.node_id))}
{section-exclude match=$Child:item.data_map.category.content.enumobject_list.0.enumvalue|eq('kopes')}
{section-exclude match=$Child:item.data_map.category.content.enumobject_list.0.enumvalue|eq('skankes')}
{section-exclude match=$Child:item.data_map.category.content.enumobject_list.0.enumvalue|eq('bytes')}
{*Here is where I'd like to build an array with the items that are not excluded*}
{/section}
{*Here is where I'd like to count the items in the new array*}
Thanks in advance! /Anja
------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden
www.novitell.se
|