Page 1 of 1

[Solved]how to limit number of levels in css drop-down menu?

Posted: Sun Dec 09, 2007 10:00 am
by paganelius
Manual says:"(optional) number_of_levels="1" - This setting will only allow the menu to only display a certain number of levels deep."

Where can i put it exactly in cssmenu.tpl?

Thanks!

Re: how to limit number of levels in css drop-down menu?

Posted: Sun Dec 09, 2007 10:11 am
by cyberman
That's a parameter if you call MenuManager in your template, not for use in cssmenu.tpl.

Re: how to limit number of levels in css drop-down menu?

Posted: Sun Dec 09, 2007 10:41 am
by paganelius
cyberman: can you write ready-to-use code?

I v tried this:

{cms_module module='menumanager' template='test.tpl'}

still doesnt work  :-\

Re: how to limit number of levels in css drop-down menu?

Posted: Sun Dec 09, 2007 10:44 am
by cyberman
Try this

{menu template='test.tpl' number_of_levels='1'}

Re: [Solved]how to limit number of levels in css drop-down menu?

Posted: Sun Dec 09, 2007 11:06 am
by paganelius
Working!
so simple!

Thank you,cyberman!