Vertical menu using CSSMenu Top - help?

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"
Locked
tonyg

Vertical menu using CSSMenu Top - help?

Post by tonyg »

Hi, I am using "CSS Menu Top and 2 Columns" as my site template, which is OK.

I want to add some compatibly styled sub-menus to certain pages. To do this I have created a Global Content Block which has inserts a menu module call with a start_page for the level I want the menu to display from.

Code: Select all

{cms_module module='menumanager' template='CSS_Menu' start_page='Locations' start_level='2' show_root_siblings='1'}
This should work, but all I get is the entire top-level horizontal menu compressed into the sidebar panel and no siblings.

If I could give a clear example of what I want to do, it would be the standard Admin menu in CMSMS, with the ability to also show Level 2 siblings in the same style in the left column of the page body (sidebar).

Can anyone help me to understand how to make this happen? Or is it not possible with that template?

Tony
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Vertical menu using CSSMenu Top - help?

Post by Dr.CSS »

Part of the problem may be that you are calling the same menu twice or you are using upper case for the start_page this is supposed to be the alias which would be in lower case.
Have you made a new menu template called CSS_Menu? if not the call is cssmenu.tpl...
tonyg

Re: Vertical menu using CSSMenu Top - help?

Post by tonyg »

mark wrote: Part of the problem may be that you are calling the same menu twice or you are using upper case for the start_page this is supposed to be the alias which would be in lower case.
Have you made a new menu template called CSS_Menu? if not the call is cssmenu.tpl...
Hi Mark, because I did not install the example content in this particular site, CSS Menu was not available as a file template. So I copied it in from one of my other sites as a database template. Also, I can customise it there.

Not sure what you mean by upper case. I was using sentence case, but tried all lower case too and no joy.

{cms_module module='menumanager' template='css_menu' start_page='locations' start_level='2' show_root_siblings='1'}

Yes, I am calling the same menu twice. Is there a compatible vertical menu template I could be calling?

Tony
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Vertical menu using CSSMenu Top - help?

Post by Dr.CSS »

Ive used basically the same template for 2 menus on the same page by just changing the to and then used the vert. nav style sheet with all primary-nav calls changed to primarynav, if you use the same for both it gets confused if you use a drop down/flyout style menu and have to use the IE js to get it to work changing the primary-nav to primarynav will make the primarynav not work, your best bet is to have 2 diff. types of menu the default vert. nav works goosd for side menus...

If you need to get some menu templates you can login here and copy what you need...

http://www.multiintech.com/CMSMSDemo/admin/login.php

Name: adman
Password: adman
Last edited by Anonymous on Fri Dec 15, 2006 12:20 pm, edited 1 time in total.
tonyg

Re: Vertical menu using CSSMenu Top - help?

Post by tonyg »

Hi Mark, I sent you a PM with a site location and a login. Tried your suggestion and I now have a working sidebar menu, but only the whole menu. Won't accept any parameters.

Tony
Locked

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