Forums / General / Array append Problem / Comment29723

Author Topic

Paul Forsyth

Wednesday 09 June 2004 7:57:13 am

Comment29723

You could omit the namespace altogether and use the new var= construct, eg:

{let my_array=array()}
{section var=Container loop=$current_node.object.related_contentobject_array}
{set my_array=$my_array|append($Container.data_map.positie.content.0)}
{/section}
{$my_array|count}
{/let}

Notice the new use of Container. The var parameter does away with namespaces...

paul

--
http://www.visionwt.com