Hi, I am trying to do something with my menu that at the surface seems like it should be simple. Yet, try as I am I can't seem to figure out how to do it.
What I have, is a vertical bulletmenu with collapse='0'. The menus on each page look like:
Main A
- Sub A
- - Inner 1
- - Inner 2
- Sub B
Main B
- Sub A
- - Inner 1
- - Inner 2
- Sub B
Now, I only want to show the "Inner" options if a sub-menu item is selected that contains such links (and only show those specific inner links).
Main A <- Selected
- Sub A
- Sub B
Main B
- Sub A
- Sub B
Main A
- Sub A
- Sub B
Main B
- Sub A <- Selected
- - Inner 1
- - Inner 2
- Sub B
If you need further information just let me know. Is there any easy way to go about doing this? Thank you.
Question about bulletmenu
-
Nexia
Question about bulletmenu
Last edited by Nexia on Mon Apr 10, 2006 9:14 pm, edited 1 time in total.
Re: Question about bulletmenu
I found this in the 'bulletmenu' help don't know if it will help,,
Help for the bulletmenu tag
What does this do?
Prints a bullet menu.
How do I use it?
Just insert the tag into your template/page like: {bulletmenu}
What parameters does it take?
* (optional) showadmin - 1/0, whether you want to show or not the admin link.
* (optional) collapse - 1/0, whether you want to collapse sub items that shouldn't be shown. Defaults to 0.
* (optional) start_page - the page id or alias (ie : 1.2 or 3.5.1 for example). This parameter sets the root node of the menu and only shows it and it's children. (a replacement for start_element)
* (optional) start_element - the hierarchy of your element (ie : 1.2 or 3.5.1 for example). This parameter sets the root node of the menu and only shows it and it's children.
* (optional) show_root_siblings - 1/0, if start_element (above) is given, then show direct siblings of the give start_element as well.
* (optional) number_of_levels - an integer, the number of levels you want to show in your menu.
mark
Help for the bulletmenu tag
What does this do?
Prints a bullet menu.
How do I use it?
Just insert the tag into your template/page like: {bulletmenu}
What parameters does it take?
* (optional) showadmin - 1/0, whether you want to show or not the admin link.
* (optional) collapse - 1/0, whether you want to collapse sub items that shouldn't be shown. Defaults to 0.
* (optional) start_page - the page id or alias (ie : 1.2 or 3.5.1 for example). This parameter sets the root node of the menu and only shows it and it's children. (a replacement for start_element)
* (optional) start_element - the hierarchy of your element (ie : 1.2 or 3.5.1 for example). This parameter sets the root node of the menu and only shows it and it's children.
* (optional) show_root_siblings - 1/0, if start_element (above) is given, then show direct siblings of the give start_element as well.
* (optional) number_of_levels - an integer, the number of levels you want to show in your menu.
mark
-
katon
Re: Question about bulletmenu
Yeah, the key thing here is is number_of_levels. And, if it doesn't help. you can always unset the "Show in menu" option in each page's options.

