Menu Manager tree structure

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
whitewabbit
New Member
New Member
Posts: 6
Joined: Thu Apr 04, 2013 12:21 pm

Menu Manager tree structure

Post by whitewabbit »

I am using the menu manager with the menu template="cssmenu_ulshadow.tpl" template. I have protected pages which either show or don't show depending on what group the memeber logged in is which is all great. The menu is like a directory tree with parent pages and child pages off those. The problem is that the whole directory structure that is available to the user shows in one go. So if there is a parent page with three layers of child pages leading off it, they all show at one. What I want to do is have them click on the parent page which reveals the next level child page options then if they click on any of the child options that have further child pages lading off them they reveal those etc. In short, one layer of the menu structure shows at a time until all the level have been revealed by the user.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Menu Manager tree structure

Post by paulbaker »

Sounds like you might need this, detailed in the help for menu manager:
(optional) collapse="1" - Turn on (set to 1) to have the menu hide items not related to the current selected page.
Basically translates to "Don't show the whole menu structure; only show the children under the page you've clicked on."

So, add collapse="1" to your {menu ...} call.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu Manager tree structure

Post by Dr.CSS »

That menu template is meant to be used as a drop down on hover menu type, if it is showing all children on hover you need to use the style sheet built for it...
Post Reply

Return to “Modules/Add-Ons”