Menu manager and levels [SOLVED]

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
jackgittes
Forum Members
Forum Members
Posts: 23
Joined: Mon Sep 28, 2009 9:04 pm

Menu manager and levels [SOLVED]

Post by jackgittes »

I have been using CMSMS for a while now and I am using it for some clients. I like it because it makes a good seperation between content and layout.

One thing I have been struggling with is the Menu manager. I understand the structure. But let's say I want a menu that displays all subpages in a certain main page.

For example I have the following tree:

Home
Products
-- Group 1
---- Subgroup 1
---- Subgroup 2
-- Group 2
-- Group 3
Contact
Links


So I want a menu that displays only the groups under products: Group 1, Group 2, Group 3

I need to display that menu in every template I want. So I will have to place something like:
{menu start_page="products" start_level="2"}

The problem is that the menu shows me the parent group 'Products' and also the subgroups. But I only want to see level 2 items. I guess I have to change something in the template.

Can anyone give a hint?

Regards,

Jan
Last edited by jackgittes on Sat Jan 23, 2010 8:12 am, edited 1 time in total.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Menu manager and levels

Post by Wishbone »

Try adding:

number_of_levels="1"

to your {menu}
jackgittes
Forum Members
Forum Members
Posts: 23
Joined: Mon Sep 28, 2009 9:04 pm

Re: Menu manager and levels

Post by jackgittes »

I solved it. I am not using menu manager for displaying the product groups but the cataloger:

Code: Select all

 {cms_module module='Cataloger' action='all' sub_template='hoofdgroepen-main' alias='producten' recurse='categories_one'} 
Works like a charm!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu manager and levels [SOLVED]

Post by Dr.CSS »

Well it helps if you let us know right off that you aren't using {menu}, hence more info = more help...
jackgittes
Forum Members
Forum Members
Posts: 23
Joined: Mon Sep 28, 2009 9:04 pm

Re: Menu manager and levels [SOLVED]

Post by jackgittes »

I was using the Menu Manager in my first post. But it couldn't do the trick. Cataloger solved it.
Post Reply

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