Page 1 of 1

Vertical menu using CSSMenu Top - help?

Posted: Sun Oct 22, 2006 1:11 am
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

Re: Vertical menu using CSSMenu Top - help?

Posted: Sun Oct 22, 2006 1:18 am
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...

Re: Vertical menu using CSSMenu Top - help?

Posted: Sun Oct 22, 2006 1:27 am
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

Re: Vertical menu using CSSMenu Top - help?

Posted: Sun Oct 22, 2006 1:43 am
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

Re: Vertical menu using CSSMenu Top - help?

Posted: Sun Oct 22, 2006 3:07 am
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