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!
[Solved]how to limit number of levels in css drop-down menu?
-
- New Member
- Posts: 9
- Joined: Wed Oct 31, 2007 9:23 am
[Solved]how to limit number of levels in css drop-down menu?
Last edited by paganelius on Sun Dec 09, 2007 11:04 am, edited 1 time in total.
Re: how to limit number of levels in css drop-down menu?
That's a parameter if you call MenuManager in your template, not for use in cssmenu.tpl.
-
- New Member
- Posts: 9
- Joined: Wed Oct 31, 2007 9:23 am
Re: how to limit number of levels in css drop-down menu?
cyberman: can you write ready-to-use code?
I v tried this:
{cms_module module='menumanager' template='test.tpl'}
still doesnt work
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?
Try this
{menu template='test.tpl' number_of_levels='1'}
{menu template='test.tpl' number_of_levels='1'}
-
- New Member
- Posts: 9
- Joined: Wed Oct 31, 2007 9:23 am
Re: [Solved]how to limit number of levels in css drop-down menu?
Working!
so simple!
Thank you,cyberman!
so simple!
Thank you,cyberman!