Page 1 of 1

MenuManager problems

Posted: Sun Mar 11, 2007 12:58 pm
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.. :/

Re: MenuManager problems

Posted: Sun Mar 11, 2007 1:36 pm
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

Re: MenuManager problems

Posted: Sun Mar 11, 2007 1:40 pm
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!