Menu Manager tree structure
-
whitewabbit
- New Member

- Posts: 6
- Joined: Thu Apr 04, 2013 12:21 pm
Menu Manager tree structure
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.
Re: Menu Manager tree structure
Sounds like you might need this, detailed in the help for menu manager:
So, add collapse="1" to your {menu ...} call.
Basically translates to "Don't show the whole menu structure; only show the children under the page you've clicked on."(optional) collapse="1" - Turn on (set to 1) to have the menu hide items not related to the current selected page.
So, add collapse="1" to your {menu ...} call.
Re: Menu Manager tree structure
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...


