Menu manager and levels [SOLVED]
Posted: Wed Jan 20, 2010 9:13 am
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
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