Question about bulletmenu

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.
Locked
Nexia

Question about bulletmenu

Post by Nexia »

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.
Last edited by Nexia on Mon Apr 10, 2006 9:14 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Question about bulletmenu

Post by Dr.CSS »

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
katon

Re: Question about bulletmenu

Post by katon »

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.
Locked

Return to “CMSMS Core”