[solved] Limit selflink to menu level
Posted: Wed Mar 31, 2010 7:29 pm
I am facing the following challenge: I have a menu which is four or five levels deep. The frist two levels are displayed with the {menu}-tag as a list on the page. For levels three and deeper I want only a next/previous-link instead of a detailed structure.
Is there any way of limiting cms_selflink to a defined menu-level?
Example:
This is the structure
1
2
- 2.1
- 2.2
- - 2.2.1
- - 2.2.2
- - 2.2.3
- 2.3
etc...
I only want to display
1
2
- 2.1
- 2.2
- 2.3
etc...
And I want to show on 2.2.1 a link to 2.2.2 and on 2.2.2 a link to 2.2.1 and 2.2.3 and on 2.2.3 only a link to 2.2.2
Can anyone help me and point me in the right direction how to accomplish this?
(I hope I could make myself understandable.)
Is there any way of limiting cms_selflink to a defined menu-level?
Example:
This is the structure
1
2
- 2.1
- 2.2
- - 2.2.1
- - 2.2.2
- - 2.2.3
- 2.3
etc...
I only want to display
1
2
- 2.1
- 2.2
- 2.3
etc...
And I want to show on 2.2.1 a link to 2.2.2 and on 2.2.2 a link to 2.2.1 and 2.2.3 and on 2.2.3 only a link to 2.2.2
Can anyone help me and point me in the right direction how to accomplish this?
(I hope I could make myself understandable.)