Page 1 of 1

Nav Question

Posted: Sat May 27, 2006 12:07 am
by brwalias
I'm looking to use the CMSMS for a site that is promoting various products on top of the standard "about us" company info pages.  I'm using this for the global nav:


     
       
                  {cms_module module='menumanager' number_of_levels='1'}
       
     
     


I'm also looking to add in product pages that have additional categories that will should not be shown in the global nav but should show in a sub nav on those pages.  So, my question, is what's the best way to add a sub nav on to pages that don't show up in the global nav?

The best example I have seen would be similar to the Table of Contents shown here: http://wiki.cmsmadesimple.org/index.php ... ng_Started

How would I make this?

Thanks,

brw

Re: Nav Question

Posted: Sat May 27, 2006 9:39 am
by sydneysunshine
Sorry about being confused but are you wanting to have a global nav at the top (for example) and then a sub navigation on the side of the page that then shows more levels? If so, put a reference in for another menu with more levels (eg number_of_levels='3'). From what I recall you can tell it not to show the top level if so desired.

I'm not sure if that's actually what you want though.

Re: Nav Question

Posted: Sat May 27, 2006 2:16 pm
by Dr.CSS
the other menu would have  start_level="2" or whatever level you want to start at .....


Parameters

    * (optional) template="bulletmenu.tpl" - The template to use for displaying the menu. Templates will come from the database templates unless the template name ends with .tpl, in which case it will come from a file in the MenuManager templates directory
    * (optional) start_page="home" - Starts the menu displaying at the given start_page and showing that element and it's children only. Takes a page alias.
    * (optional) start_element="1.2" - Starts the menu displaying at the given start_element and showing that element and it's children only. Takes a hierarchy position (e.g. 5.1.2).
    * (optional) start_level="2" - This option will have the menu only display items starting a the given level. An easy example would be if you had one menu on the page with number_of_levels='1'. Then as a second menu, you have start_level='2'. Now, your second menu will show items based on what is selected in the first menu.
    * (optional) show_root_siblings="1" - This option only becomes useful if start_element or start_page are used. It basically will display the siblings along side of the selected start_page/element.
    * (optional) number_of_levels="1" - This setting will only allow the menu to only display a certain number of levels deep.
    * (optional) items="contact,home" - Use this item to select a list of pages that this menu should display. The value should be a list of page aliases separated with commas.
    * (optional) collapse="1" - Turn on (set to 1) to have the menu hide items not related to the current selected page.

  mark

Re: Nav Question

Posted: Sat May 27, 2006 8:09 pm
by brwalias
Thanks for the input.  This what exactly what I was looking for.  :)