Best way to create primary and secondary navigations?
Permalink
Hi,
I'm surprised I haven't come up against this until now, but how would I create a secondary navigation with specific pages in it?
See the graphic here:
http://i52.tinypic.com/1zpgxe8.gif...
I need to show specific pages *on the same level* in one nav and the rest in another nav.
How would I do this? Two autonavs? An autonav and a pagelist?
Thanks for any pointers,
osu
I'm surprised I haven't come up against this until now, but how would I create a secondary navigation with specific pages in it?
See the graphic here:
http://i52.tinypic.com/1zpgxe8.gif...
I need to show specific pages *on the same level* in one nav and the rest in another nav.
How would I do this? Two autonavs? An autonav and a pagelist?
Thanks for any pointers,
osu
two autonavs
Thanks for your answers, but unfortunately two autonavs or the code suggested will just show pages below a parent page.
The problem I have, is that if I want to show the pages in the blue autonav AND the red autnoav, I have a problem because About Us, Contact and Links are on the same level as the pages Home, Section 1 and Section 2.
The only solution I can see is to use CSS to hide the About Us, Contact and Links from the blue autonav because using 'Exclude from autonav' will mean pages I exclude from the blue autonav won't appear in the red autonav.
Let me know if that doesn't make any sense.
Cheers,
Osu
The problem I have, is that if I want to show the pages in the blue autonav AND the red autnoav, I have a problem because About Us, Contact and Links are on the same level as the pages Home, Section 1 and Section 2.
The only solution I can see is to use CSS to hide the About Us, Contact and Links from the blue autonav because using 'Exclude from autonav' will mean pages I exclude from the blue autonav won't appear in the red autonav.
Let me know if that doesn't make any sense.
Cheers,
Osu
You could set a custom page attribute, say 'add to secondary nav' for example, and then filter the results in a custom autonav template to only show those pages. I wish I could help more but this may be the right direction.
I am in a similar situation now where I need two navigations , one on top, this one shall be a superfish drop down template and the second on the right side-bar. I attached a screen shot of the site map to show what I am trying to do.
Besides the pages that I want to see in the top nav, I created a page called side-bar nav which has children pages that shall appear on the side-bar navigation. I have excluded the page known as Side-bar nav from appearing in the superfish nav, However the children pages of this page then show up under Contact page which is a part of the superfish nav in the top.
I have chosen Display Pages at Top Level, Sub-Pages to display to all and Sub-Page Level: Display all , I also tried playing around with other options in the Sub-Pages to display and Sub-Page level, however it still the same, all the children pages of Side-bar navigation show up under the Contact page.
I visited the link mentioned by @tallacman , but thats a different case where there are no sub-pages to be displayed via drop-down menu.
Hope someone can point me in the right direction.
Besides the pages that I want to see in the top nav, I created a page called side-bar nav which has children pages that shall appear on the side-bar navigation. I have excluded the page known as Side-bar nav from appearing in the superfish nav, However the children pages of this page then show up under Contact page which is a part of the superfish nav in the top.
I have chosen Display Pages at Top Level, Sub-Pages to display to all and Sub-Page Level: Display all , I also tried playing around with other options in the Sub-Pages to display and Sub-Page level, however it still the same, all the children pages of Side-bar navigation show up under the Contact page.
I visited the link mentioned by @tallacman , but thats a different case where there are no sub-pages to be displayed via drop-down menu.
Hope someone can point me in the right direction.
I just solved my issue, by moving the Page known as the Sidebar Menu Page along with their children pages beneath the Members page and now things are working as I wanted them too. Attached is the screen shot of the sitemap.
http://soho.c5themepark.com/
click on the gallery menu and you'll see the second menu appear.
steve