MenuManager problems

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.
Locked
fjoesne

MenuManager problems

Post by fjoesne »

I'm making a site with one menu over two areas. e.g a main menu with hierarchy 1.x.y
then the other area (submenu) with hierarchy x.1.y. I have tried and tried to do this with the menumanager.
the problem is getting only the submenu items when the mainmenu element is active.
right now i can only get -all- the second level hierarchy elements in the submenu..

here is an html example to better explain what i mean:

Code: Select all

	<div class="menu">
        ----location of main menu----
	</div>
	<br />
	<div class="submeny">
        ----location of submenu----
	</div>
anyone got a suggestion as of how i should solve this problem?
the alternative is to rewrite 500 lines with css and html, an area where i am no expert.. :/
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: MenuManager problems

Post by nils73 »

This is pretty simple with MenuManager.

Code: Select all


<div class="menu">
  {cms_module module="menumanager" template="mainmenu" collapse="1" number_of_levels="1"}
</div>
<br />
<div class="submeny">
  {cms_module module="menumanager" template="submeny" collapse="1" start_level="2"}
</div>

Just have a look at the help for MenuManager .. there you will find lots of options that you can set when calling MenuManager.

Regards,
Nils
fjoesne

Re: MenuManager problems

Post by fjoesne »

oh my, how did i miss that.. been awake for 36 hours.. i guess that takes away some of the readingskills. thank you very much!
Locked

Return to “CMSMS Core”