Page 1 of 1

MenuManager & disappearing root menu entries

Posted: Tue Feb 26, 2008 1:59 pm
by sleiron
Hello everybody,

in one of our new projects I used the standard MenuManager (CMSMS 1.2.3/MenuManager 1.5) to have a main navigation and a subnavigation. They are separated as follows in the code:

         
            {menu template='Navigation' number_of_levels='1'}
         
         
            {menu template='Subnavigation' start_level='2'}
         

the problem is, that when you have a hierarchy like:

1. Home
2. News
3. Projects
3.1 Project A
3.2 Project B

and select 3.1, the root menu "3. Projects" disappears from the main navigation.

I looked through the possible parameters in MenuManager and in the forum but could not find a solution.

Is that a bug or do I need an additional parameter?

thanks
sleiron

Re: MenuManager & disappearing root menu entries

Posted: Wed Feb 27, 2008 11:21 am
by Pierre M.
Hello sleiron,
sleiron wrote: ...a hierarchy like:

1. Home
2. News
3. Projects
3.1 Project A
3.2 Project B
Do you really need two {menu... } calls to achieve this ? Isn't there some "current expand/collapse" parameter demonstrated in the sample templates ?

Pierre M.

Re: MenuManager & disappearing root menu entries

Posted: Wed Feb 27, 2008 11:04 pm
by sleiron
Hi Pierre,

yes, it would be very helpful if it works as described, because the menus are positioned in different parts of the layout.

I'll give it another try with other expand behaviour and then I have to see/decide what to do with it to get the site finished.

thanks
sleiron

[SOLVED] Re: MenuManager & disappearing root menu entries

Posted: Thu Feb 28, 2008 3:19 pm
by sleiron
ok, it's not a bug, it's a feature......I'll award myself a stupidity price for commenting out the part of code which belongs to rendering the parent menu and overlooking it in the first place.

sorry for stirring up the waves.

isn't cmsms a great system?!

cheers
sleiron