Page 1 of 1

Create Menu on the top, submenu on the left

Posted: Sun Jan 21, 2007 5:57 pm
by curana
Hi,
I have a problem with my layout. Im very new to CMSMS and tried a lot to find out how the menumanager works, but I cant find out how to do what I want.

My website has its mainmenu below the header graphic. The submenu-items should be listed on the left of the content. Is there a sample somewhere I can modify? I havent found a tutorial how to create a menu with all these {foreach...} things etc. Is there any?

Would be great if somebody could help.
If u need any more information, tell me. Im running the 1.02 version at the moment.

Re: Create Menu on the top, submenu on the left

Posted: Sun Jan 21, 2007 7:59 pm
by zendezine
Adding these two items will give you the CSS top menu and a sub-navigation on the left side. Make sure you are using the correct stylesheets. They are Navigation: Simple - Vertical, Navigation: CSSMenu - Horizontal and Layout: Top menu + 2 columns.

Under your main layout template add this content under Start Navigation:

     
     
        Navigation
        {menu template='cssmenu.tpl'}
     
     
     

Then add this content to your Content area:

 

     
     

     
     

        Sub Navigation
         
          {menu template='simple_navigation.tpl' start_level='2' collapse='1'}
   
     
     
{global_content name='print'}
     
     


     
     
        {print showbutton=true script=true}
        {title}
        {content}


       


{anchor anchor='main' text='^ Top'}

       
            {cms_selflink dir="previous" label="Previous page: "}

            {cms_selflink dir="next"}
       
       


     
     
 

Re: Create Menu on the top, submenu on the left

Posted: Mon Jan 22, 2007 1:28 pm
by curana
Ok, too complicated for me :-)

I made it simple and just used 2 different menu-templates and put each on one side. Sounds easier to me.

Thank you for your help anyway.

Re: Create Menu on the top, submenu on the left

Posted: Tue Jan 23, 2007 5:36 am
by lleighh
I've been trying something similar ...
... main menu on the left (vertical)
... a horiz sub menu at the top

I changed the template code as recommended ...
        Navigation
        {menu template='cssmenu.tpl'}
     
     
     

Then add this content to your Content area:

 

     
     

     
     

        Sub Navigation
         
          {menu template='simple_navigation.tpl' start_level='2' collapse='1'}
   
     
But what I don't understand is where do you assign certain menu items to levels? I tried making menu items 'children' but his just makes them appear in the submenu when that parent page menu link is checked.

What I want is for the submenu to be visible on every page not just its parent page. How's that done? What am I missing here?