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

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
paganelius
New Member
New Member
Posts: 9
Joined: Wed Oct 31, 2007 9:23 am

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

Post 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!
Last edited by paganelius on Sun Dec 09, 2007 11:04 am, edited 1 time in total.
cyberman

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

Post by cyberman »

That's a parameter if you call MenuManager in your template, not for use in cssmenu.tpl.
paganelius
New Member
New Member
Posts: 9
Joined: Wed Oct 31, 2007 9:23 am

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

Post by paganelius »

cyberman: can you write ready-to-use code?

I v tried this:

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

still doesnt work  :-\
cyberman

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

Post by cyberman »

Try this

{menu template='test.tpl' number_of_levels='1'}
paganelius
New Member
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?

Post by paganelius »

Working!
so simple!

Thank you,cyberman!
Post Reply

Return to “CMSMS Core”