Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Adding a second navigation bar


Go to End


3 Posts   3173 Views

Avatar
robcub

Community Member, 14 Posts

8 May 2009 at 10:29pm

Edited: 08/05/2009 10:30pm

Hi, I have a main navigation bar at this site http://www.mylocalmates.com/ which works fine.

If you scroll down there is a bottom navigation bar with subsidiary pages which I will be creating soon.

My problem is, if I make a new page it will go into the top navigation bar which I don't want.

Should I just enter the code in both navigation bars manually, eg.

<a href="http://www.mylocalmates.com/contact-us">

etc. etc. and get rid of the

<a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode"><span>$MenuTitle.XML</span></a>

in order to get it to work.

Or is there a better way to do it?

Avatar
Nivanka

Community Member, 400 Posts

8 May 2009 at 10:58pm

it is simple just on the behavior tab in the backend tick off the show in menus check box, it wont come to any of the menus then

Avatar
robcub

Community Member, 14 Posts

10 May 2009 at 10:20pm

Thank you, Nivanka. I didn't see that.