Two horizontal navigation menus: main, and "administrative"
Two horizontal navigation menus: main, and "administrative"
I am trying to set up two separate horizontal menus similar to the one at UPS: http://www.ups.com/?Site=Corporate&cook ... Cookie=yes
I have looked on the forum and found similar items but not this exactly. The main navigation will have drop down menus and the "administrative" menu will not, but they will be content pages. They will be links like "contact us" and "about us".
You can see my work in progress here: http://www.buildlocal.org/index.php
My stats:
MySQL 5
CMSMS 1.1
much appreciated. I started off with Joomla, then tried ModX, and now am firmly settled on CMSMS.
Justin
I have looked on the forum and found similar items but not this exactly. The main navigation will have drop down menus and the "administrative" menu will not, but they will be content pages. They will be links like "contact us" and "about us".
You can see my work in progress here: http://www.buildlocal.org/index.php
My stats:
MySQL 5
CMSMS 1.1
much appreciated. I started off with Joomla, then tried ModX, and now am firmly settled on CMSMS.
Justin
Re: Two horizontal navigation menus: main, and "administrative"
Justin,
You can call the menu as often as you want in your template. I've done somthing similar on test.krijt.eu. On the second menu, you can call a specific parent and on the first menu, you can call the rest.
I call the 2 horizontal menus as follow:
You might want to use the cssmenu.tpl instead.
Ronny
You can call the menu as often as you want in your template. I've done somthing similar on test.krijt.eu. On the second menu, you can call a specific parent and on the first menu, you can call the rest.
I call the 2 horizontal menus as follow:
Code: Select all
</div>
<h2 class="accessibility">Navigation</h2>
{menu template='simple_navigation.tpl' number_of_levels='1'}
<hr class="accessibility" />
</div>
<div id="menu_horiz2">
{menu template='extra-menu' start_page='hd-menu' show_all='1'}
<hr class="accessibility" />
</div>
Ronny
Re: Two horizontal navigation menus: main, and "administrative"
Thanx. Is there some of your code missing? Would you be willing to share the whole template and css code?
Re: Two horizontal navigation menus: main, and "administrative"
I still have not found a solution. So far all my pages still show up in the main horizontal menu.
Any help is greatly appreciated as this is the last piece of the puzzle for me.
Any help is greatly appreciated as this is the last piece of the puzzle for me.
-
- Forum Members
- Posts: 75
- Joined: Mon Apr 23, 2007 3:51 pm
Re: Two horizontal navigation menus: main, and "administrative"
If the secondary menu will always have the same links, you can just hard code it. Nothing wrong with that.
Otherwise your best bet would be to make sure all of those pages are under the same parent.
Otherwise your best bet would be to make sure all of those pages are under the same parent.
Re: Two horizontal navigation menus: main, and "administrative"
that is a good thought, however I want my client to be able to add, edit, or remove those "admin" links without having to mess with the template.
I'll try putting them all under a parent page (with no content) that says "Admin".
I'll try putting them all under a parent page (with no content) that says "Admin".
Re: Two horizontal navigation menus: main, and "administrative"
solved.
i created a page called "admin" and used section header instead of content. i unchecked put in menu and placed all the pages i wanted under this page.
i then used the following to call the menu:
thanx for the help.
i created a page called "admin" and used section header instead of content. i unchecked put in menu and placed all the pages i wanted under this page.
i then used the following to call the menu:
Code: Select all
<div id="menu_horiz">
{menu template='simple_navigation.tpl' start_page='admin'}
</div>
- jasminetea
- Forum Members
- Posts: 20
- Joined: Mon Aug 06, 2007 11:26 am
Re: Two horizontal navigation menus: main, and "administrative"
Hi Justinea,
Thanks for post. V. Helpful. I got as far as you and it works fine. Is there anyway of controlling the format. My Problem. I do not want this second horizontal nav to have the same format as the primary. Did you find a way around it?
Cheers,
JT
Thanks for post. V. Helpful. I got as far as you and it works fine. Is there anyway of controlling the format. My Problem. I do not want this second horizontal nav to have the same format as the primary. Did you find a way around it?
Cheers,
JT
Re: Two horizontal navigation menus: main, and "administrative"
If you rename the "" to something else, say "" . Copy the stylesheet for the navigation to a new stylesheet, and then rename all "menu_horiz", to the new "menu_horiz2", in that copied stylesheet. You can then style the other menu differently than the first one.
Ronny
Ronny
- jasminetea
- Forum Members
- Posts: 20
- Joined: Mon Aug 06, 2007 11:26 am
[SOLVED] Re: Two horizontal navigation menus: main, and "administrative"
Hi Ronny,
It went as quick as you said. Thanks very much for advice (Speedy, SpotOn and Perfect)
JT
It went as quick as you said. Thanks very much for advice (Speedy, SpotOn and Perfect)
JT