Create Menu on the top, submenu on the left

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
curana
Forum Members
Forum Members
Posts: 44
Joined: Sun Jan 21, 2007 5:53 pm

Create Menu on the top, submenu on the left

Post 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.
zendezine

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

Post 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"}
       
       


     
     
 
curana
Forum Members
Forum Members
Posts: 44
Joined: Sun Jan 21, 2007 5:53 pm

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

Post 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.
lleighh
Forum Members
Forum Members
Posts: 59
Joined: Tue Apr 11, 2006 2:40 pm

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

Post 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?
Post Reply

Return to “Layout and Design (CSS & HTML)”