Page 1 of 1

Menu manager and levels [SOLVED]

Posted: Wed Jan 20, 2010 9:13 am
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

Re: Menu manager and levels

Posted: Wed Jan 20, 2010 3:05 pm
by Wishbone
Try adding:

number_of_levels="1"

to your {menu}

Re: Menu manager and levels

Posted: Sat Jan 23, 2010 8:11 am
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!

Re: Menu manager and levels [SOLVED]

Posted: Sat Jan 23, 2010 8:04 pm
by Dr.CSS
Well it helps if you let us know right off that you aren't using {menu}, hence more info = more help...

Re: Menu manager and levels [SOLVED]

Posted: Sat Jan 23, 2010 9:01 pm
by jackgittes
I was using the Menu Manager in my first post. But it couldn't do the trick. Cataloger solved it.