Page 1 of 1

Menumanager functionality!

Posted: Sat Feb 24, 2007 2:56 am
by climberusa
I'm trying to use the menumanager to only show the child pages/categories of the current page. I spent two hours last night searching for a solution and trying to program it myself to no avail. I had to resort to implicitly setting the pages to show but that is only a temporary fix. Ideally i would like to set it up so at a top level page it only shows the children but if you go a level lower it only shows the siblings. So, if one of you could go ahead and build this for me by tomorrow, that'd be great.

No really though if anyone has done this or has an idea of how the logic would work or if it's even possible i would love to find out. Appreciate any help I can get.

Jeff

Re: Menumanager functionality!

Posted: Sat Feb 24, 2007 6:26 am
by cyberman
climberusa wrote: Ideally i would like to set it up so at a top level page it only shows the children but if you go a level lower it only shows the siblings.
Create a new/second cmsms template only for child pages and call menu manager there with parameter startlevel='2'.

Re: Menumanager functionality!

Posted: Sat Feb 24, 2007 4:16 pm
by climberusa
I'll try that, but I did try every option laid out in the help page for menumanager and I was never able to have the menu only show children, it would always show the current page too even if I put start_level="2.1"

Re: Menumanager functionality!

Posted: Mon Feb 26, 2007 10:37 am
by cyberman
OK - my mistake, sorry. Right parameter is start_level :)

Works for me here  :)

Re: Menumanager functionality!

Posted: Mon Feb 26, 2007 4:29 pm
by climberusa
I see but is there anyway to have the list exclude the rest of the nav and only show the children, not even the current page?

Re: Menumanager functionality!

Posted: Mon Feb 26, 2007 4:31 pm
by heatherfeuer
Create a separate navigation template and call that particular menu template on the special "child" page template you make.

Re: Menumanager functionality!

Posted: Tue Feb 27, 2007 5:57 am
by cyberman
climberusa wrote: not even the current page?
??? not sure what you mean ...

This is my menu manager call in template for parents

Code: Select all

{menu template='simple_navigation.tpl' collapse='1'} 
And (the other) template attached to children uses this call

Code: Select all

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