Forums / Install & configuration / Nested loops / Comment814
Bård Farstad
Thursday 10 April 2003 8:01:19 am
The problem seems to be with namespaces. This is an example that works: Notice the $Folder:sub_folder_list.
{let folder_list=fetch(content,list,hash(parent_node_id,2,sort_by,array(array(priority))))}
{section name=Folder loop=$folder_list} <b>{$Folder:item.name}</b>:<br />{let sub_folder_list=fetch(content,list,hash(parent_node_id,$Folder:item.node_id,sort_by,array(array(priority))))}
{section name=SubFolder loop=$Folder:sub_folder_list} -{$Folder:SubFolder:item.name}<br />{/section}
{/let}{/section}
{/let}
--bård
Documentation: http://ez.no/doc