MenuManager & disappearing root menu entries

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
sleiron
Forum Members
Forum Members
Posts: 11
Joined: Tue Feb 26, 2008 1:36 pm

MenuManager & disappearing root menu entries

Post 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
Pierre M.

Re: MenuManager & disappearing root menu entries

Post 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.
sleiron
Forum Members
Forum Members
Posts: 11
Joined: Tue Feb 26, 2008 1:36 pm

Re: MenuManager & disappearing root menu entries

Post 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
sleiron
Forum Members
Forum Members
Posts: 11
Joined: Tue Feb 26, 2008 1:36 pm

[SOLVED] Re: MenuManager & disappearing root menu entries

Post 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
Post Reply

Return to “CMSMS Core”