Tuesday 28 December 2004 9:40:38 am
If I understand you correct you would like to have one template for folders at root-level (depth=1) and another template for the folders that are childs of this folder (depth=2) and so on..?
If I should do this I would use the $node.depth variable in the folder_full template. Something like this
{section show=$node.depth|eq(1)}
{*Template for first level ... *}
{/section}
{section show=$node.depth|eq(2)}
{*Template for second level ... *}
{/section}
{section show=$node.depth|eq(3)}
{*Template for third level ... *}
{/section}
...
Was it something like that you wanted to do?
|