I'm using the ellnav-vertical.
Example of my heirarchy:
2. Home
2.1 Something
2.2 Something Else
2.3 Something Further
I'm using this for the {menu}:
{menu template="home_menu" start_element="2"}
What I want the menu to look like:
Something
Something Else
Something Further
What I'm ending up with:
Home
Something
Something Else
Something Further
This is currently my pruned ellnav_vertical template:
Code: Select all
{if $count > 0}
<ul class="menu_horiz"id='home' onmouseover="Over('home')" onmouseout="Out('home')">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}
{if $node->current == true}
<li class="current"><a class="current" href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}</a>
{else}
<li><a href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}</a>{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-2}</li>
</ul>What exactly am I missing to get rid of the parent part in the menu? I can't figure out the code to where if ($node == Home) continue. The java stuff is for popup menus that are part of the design.
Help?

