Thanks for your attention, guys. I'm still kinda new to CMSMS, so I'm learning all the tokens to use etc.
This is my topnav template.
Code: Select all
{if $count > 0}
{$node->depth = 2}
<ul id="nav">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" times=$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><a href="{$node->url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </a>
{elseif $node->parent == true && $node->depth == 1}
<li class="activeparent"> <a href="{$node->url}" class="activeparent"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </a>
{elseif $node->type == 'sectionheader'}
<li class="sectionheader">{$node->menutext}
{elseif $node->type == 'separator'}
<li style="list-style-type: none;"> <hr class="separator" />
{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-1}</li>
</ul>
{/if}
so I set the pages up in the tier structure you suggested.
TOPNAV
1.1
1.2
1.3
1.4
1.5
1.6
MIDNAV
2.1
2.2
2.3
2.4
And in my global template I put in this call.
div id="topnav"
{menu start_element="1.1" show_root_siblings="1"}
div id="midnav"
{menu start_element="2.1" show_root_siblings="1"}
The problem I'm getting is that CMSMS now wraps the current page in H3 tags, as well as the page heirarchy (1.2) in front of the page menu text.
Example
1.1 HOME 1.2 ABOUT 1.3 CONTACT
I suppose I could use display: none, to hide the heirarchy, as they are wrapped with a DFN tag. And style the nav's H3 to appear the same as the rest of the links... but I would think there is a better way to do it.
Also, I use the breadcrumb feature. and it is showing the dummy page I used to put the sub pages in.
Example
Home / Top Section / About Us
The TOPNAV template I posted above, cuts out alot of the additional info that I don't want. Is there a way I can modify it so that it only displays specific pages such as was suggested "item=Home, About, Contact" ?
Thanks again for your help guys. So far CMSMS has been great!