1. Home
2. Services
3. Contact
4. Our Process
5. About Us
5.1 History
I'd like to create a horizontal menu that is displayed across all the pages and includes only the top-level links. The issue is that on my About Us page and History page, the History link is included in the top menu. Here's the template I'm using.
Code: Select all
{assign var="startshowing" value="0"}
{if $count > 0}
<ul id="mainNav">
{foreach from=$nodelist item=node}
<li>
<a href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}</a></li>
{if $node->current == true}
{assign var="startshowing" value="1"}
{/if}
{/foreach}
</ul>
{/if}