super simple menu - only showing children links under same parent

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

super simple menu - only showing children links under same parent

Post by factor1 »

So I have a normal navigation, but I would love to also show other child pages from the same parent.

Example: If you are on a page in About us, the main nav still shows with drop downs, but I have a secondary menu showing other pages within about us.


I have played with a few menus, just cant figure out how to hide the other menus. Anything simple out there that i am missing? It needs to work for 4 levels of navigation is part of the issue.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: super simple menu - only showing children links under same parent

Post by Dr.CSS »

Have you read the menu manager help?...

Sorry I had to ask...

You can have a side menu the will only show the children of the current page, say about us has 3 children and one of them has 2 children, the side menu will show the 2 children when you are on the 2nd level about us page...

2. About us
2.1 more about us
2.2 more more  when active/shown page side menu has 2.2.1 and 2.2.2
2.2.1 nother more
2.2.2 even more
2.3 nother about us
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: super simple menu - only showing children links under same parent

Post by factor1 »

yep. read the help.


I think I found my issue.

So I am using:

Code: Select all

{menu template='simple_navigation.tpl' start_level='2' collapse='1'}
works great to show level 2 items only. Problem is that this client has level 3, and 4 items as well.

so I can do this:

Code: Select all

{menu template='simple_navigation.tpl' start_level='3' collapse='1'}

on pages to show the third tier.

So right now, the only way i am able to make this work is to have 4 templates, specific to where the admin places that page.


Any work around?
Post Reply

Return to “Layout and Design (CSS & HTML)”