Page 1 of 1

Menu Manager - Help!

Posted: Mon Aug 07, 2006 8:43 pm
by liquid
I'm using beta3 (looks fantastic, btw) and I'm running into a bit of a problem with the Menu Manager.

Here's the hierarchy of the site

- Home
- About
- Newsroom
-- News Releases
-- Media Coverage
etc.

I'd like a menu that would show just the children of the parent element, but to a point. So, what I need is a menu that shows if you're in the Newsroom section, just the two children in that section. I've modified the list_children code from the Wiki (thanks!) but the problem is that when you're on the News Releases page, it doesn't work. How do I tell it to grab the menu based on the current top-level node?

Re: Menu Manager - Help!

Posted: Tue Aug 08, 2006 4:56 am
by Dr.CSS
Have you gone to Modules>Menu Manager>Help ,the word help on the right hand side, should have the info you need on the parameters to set for what you want.

Re: Menu Manager - Help!

Posted: Tue Aug 08, 2006 6:30 am
by Utter
So if 'Newsroom' is page 3.0 but you only want to show children then use this in the template for that section

{menu start_element="3.1" template="yourtemplate" show_root_siblings="1"}

That'll put just the children of 3.0 into the menu

Re: Menu Manager - Help!

Posted: Tue Aug 08, 2006 7:45 am
by Dr.CSS
Yes and no other ones no matter what page you are on, if you want to display just the children for each section such as 3.0 Newsroom, 4.0 Products, 5.0 Gallery, 6.0 Pricing, etc. any section in the top menu that is active the sub menu is composed of it's children.

Then your menu tag will be...

{menu start_level="2" collapse="1"}

start_level="2"    This option will have the menu only display items starting a the given level, your second menu will show items based on what is selected in the first menu.

collapse="1"  Turn on (set to 1) to have the menu hide items not related to the current selected page.

Like this http://www.multiintech.com/cmsite/index ... 3-col  only the things under Rounded are in the Sub Menu.

Re: Menu Manager - Help!

Posted: Tue Aug 08, 2006 5:23 pm
by liquid
Thanks! The start_level variable was exactly what I needed!

Re: Menu Manager - Help!

Posted: Tue Aug 08, 2006 6:16 pm
by Dr.CSS
Your welcome

Just trying to help out when I can.