[solved] Menu display wants to show too many levels?

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
msboyd

[solved] Menu display wants to show too many levels?

Post by msboyd »

Hi all --

I've tried a number of menus and various collapse/start_level options for my right-hand navigation and it seems that no matter what I can only display either my top level pages or every page on the site. 

I figured it would be a simple case of using {menu template='simple_navigation.tpl' collapse='2' start_level='1'} but that showed all levels, not just the two I expected.

I also tried menu_icon_expand - when expanded, this is exactly what I need -- only without the 'expand' links (unless those can somehow be indented under each parent section link).

I am currently using this:
{cms_module module='menumanager' collapse='2' start_level='2'}

which is giving me much more than I want, but at least it's indented (screenshot here):

Image

I essentially want to see 'Animal Bio' and its children (Cardian Electrophysiology, Clinical Hematology, etc.) listed, but not theirs - I want all the sub-pages for Cardiac Electrophysiology, for example, to not appear here.

Any ideas?  I've done a lot of tinkering with the 'collapse' numbers, but it seems to be all or nothing for some reason.

Thanks!
Last edited by msboyd on Tue Aug 14, 2007 8:14 pm, edited 1 time in total.
Caspar

Re: Menu display wants to show too many levels?

Post by Caspar »

msboyd wrote: I am currently using this:
{cms_module module='menumanager' collapse='2' start_level='2'}
Hi,
make it look like this:

Code: Select all

{cms_module module='menumanager' collapse='2' start_level='2' number_of_levels='2'}
msboyd

Re: Menu display wants to show too many levels?

Post by msboyd »

I tried that already, actually -- it only displays one level when I do that.  Thanks, though!
Caspar

Re: Menu display wants to show too many levels?

Post by Caspar »

How about:

Code: Select all

{menu collapse='1' start_level='2' number_of_levels='2'}
EDIT: collapse='2' doesn't seem to be a valid parameter, does it?
Last edited by Caspar on Tue Aug 14, 2007 7:54 pm, edited 1 time in total.
msboyd

Re: Menu display wants to show too many levels?

Post by msboyd »

Duh!  You are correct!

Here's what solved it:

{cms_module module='menumanager' start_level='1' number_of_levels='3'}
Locked

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