MenuManager Bug
Posted: Sat Jun 25, 2011 2:42 pm
There's a bug in the MenuManager module.. I'm currently searching it, but perhaps someone else already knows where it is.
Structure of my test page:
2 root
2.1 child1
2.1.1 subchild1
2.2 child2
the markup:
{menu childrenof='root'}
the menu template:
<ul>
{foreach from=$nodelist item=node}
<li>{$node->depth} {$node->menutext}</li>
{/foreach}
</ul>
the result:
* 1 child1
* 2 subchild1
* 0 child2
Structure of my test page:
2 root
2.1 child1
2.1.1 subchild1
2.2 child2
the markup:
{menu childrenof='root'}
the menu template:
<ul>
{foreach from=$nodelist item=node}
<li>{$node->depth} {$node->menutext}</li>
{/foreach}
</ul>
the result:
* 1 child1
* 2 subchild1
* 0 child2