Hi,
I am new to modx and using mollio template. In secondary navigation I am using:
<div id="content-wrap">
<div id="utility">
<ul id="nav-secondary">
[!Wayfinder? &selfClass=`nav_here` &startId=`[[UltimateParent? &topLevel=`2`]]` &level=`1` &outerTpl=`WAYFINDER_subnav_outerTpl` &rowTpl=`WAYFINDER_rowTpl`!] </ul>
</div>
Upto two level it is working fine. Now I add pages beyond second level, those pages are not showing pages. I tried by changing &topLevel=’3’, then it showing third level, but secondary menu vanished. How to fix the problem.
Also how to get a page withing the same frame from a link within the body?
Any help is highly appreciated.
Regards,
Sandip
Note: Template file is attached.
-
☆ A M B ☆
- 24,524 Posts
You’ve got a &level=`1` parameter that is limiting the number of levels Wayfinder will go.
Thank for suggestion. Actually I need to display the next top level menus in the sidebar. If I use &level=2, it will not show the side menu for second level pages. Any suggestion, how can i display only next higher level menus only?
M1--- A1--------B1
B2 --------C2
B3---------C3
A2--------B4 ---------C4
B5---------C6
Clicking "C level" menu, it should show B level menus in side bar etc.
Hope I can make it clear.
Regards,
Sandip