Menu positions. [SOLVED]
Posted: Wed Oct 28, 2009 4:35 pm
Hello!
I have one problem.
I have my site’s 1st level menu. In some positions of this menu I have 2nd and 3rd levels of the menu.
In the second level I need have title (I choose content type: “Section Header”). Under this one located the 3rd menu level (and this is active link).
My 2nd and 3rd menu levels are separated from the 1st level menu. And it (2nd and 3rd) has own {menu} and own template, which content:
And I need that this submenu (2nd and 3rd levels) opening in one time, but only with his own 1st level menu link.
The decision arises: collapse='1' in the 2nd {menu}.
But big problem, that collapse='1' show only submenu when opened menu, and don’t show sub-sub menu.
If you want to see sub-submenu you need to open submenu, but it’s impossible because my submenu it’s just a title and can’t be opened.
I tried some ways, but it was ineffectual.
I have one problem.
I have my site’s 1st level menu. In some positions of this menu I have 2nd and 3rd levels of the menu.
In the second level I need have title (I choose content type: “Section Header”). Under this one located the 3rd menu level (and this is active link).
My 2nd and 3rd menu levels are separated from the 1st level menu. And it (2nd and 3rd) has own {menu} and own template, which content:
Code: Select all
{foreach from=$nodelist item=node}
{if $node->depth ==2 }
{if $node->target ==0}
<font class="menu2">{$node->menutext}</font><p />
{else}
<a href="{$node->url}" class="menu2">{$node->menutext}</a><p />
{/if}
{/if}
{if $node->depth ==3 }
{if $node->current}
<a href="{$node->url}" class="selmenu">{$node->menutext}</a><br />
{else}
<a href="{$node->url}" class="menu3">{$node->menutext}</a><br />
{/if}
{/if}
{/foreach}
The decision arises: collapse='1' in the 2nd {menu}.
But big problem, that collapse='1' show only submenu when opened menu, and don’t show sub-sub menu.
If you want to see sub-submenu you need to open submenu, but it’s impossible because my submenu it’s just a title and can’t be opened.
I tried some ways, but it was ineffectual.