We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26111
    • 17 Posts
    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.
      • 7231
      • 4,205 Posts
      &level=`1`

      Try setting this to 2 or more to go deeper down into the menu.

      &level
      default: 0
      values: [ 0 | number ]
      description: The level parameter determines how deep into the tree structure Wayfinder will process. If set to 0, Wayfinder will process all levels of the document tree.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don&#39;t know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 20289
        • 958 Posts
        When you set the level depth value of wayfinder, you need to have a proper css definition of menu lists.
          [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
          [td][Wiki] [Persian support forum]
          [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
          [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]