We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5122
    • 5 Posts
    Hello:

    I’m hoping someone can point me in the right direction. I’m having a problem using the Wayfinder snippet -- my menus are not showing up at all. I have the latest stable release of ModX installed.

    In my header chunk I have the following:

    <h1><a href="#">Test Site</a></h1>
    <h2>
    Test
    </h2>
    [[Wayfinder? &startId=`0`&level=`1`&limit=`2`&outerClass=`nav`&innerClass=`subnav`]]


    But for the life of me I can’t get any menus to show up at all.

    Thanks in advance for your help!

    --
    Chris
      • 7231
      • 4,205 Posts
      The call looks good. I am wondering about the outerTpl, did you include the [+wp.wrapper+] placeholder? Also there is the possibility that the pags are not published or that they do not have ’shoe in menu’ selected, and also the possibility that they are in a ’private’ doc group.

      Just re-read he question and there is no outerTpl, strike that part.
        [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]
        • 5122
        • 5 Posts
        Hi:

        thanks for your help. Yes the pages are published and they "show in menu" is selected for each page. But how can I check to see if they are in a private doc group?
          • 7231
          • 4,205 Posts
          Private documents usually have a small padlock on the icon in the doc tree, and you can see if a Document Group is selected. If you did not set a private group then it will not be the problem.

          I pasted your call into m test site and it worked no problem. So the call is good. The reason must be something else.

          Is this on a working site or are you starting a new site?
            [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]
            • 5122
            • 5 Posts
            I’m working on a new site. And I’m relatively new to ModX so it could be I’m doing something stupid. smiley

            --
            chris
              • 7231
              • 4,205 Posts
              well, if it is a new site then you would know if there were any private document groups. Not sure what could be the problem.

              You say this is in a header chunk. How are you calling the chunk? Make sure there are no typos or different capitalization. For example {{headerChunkName}} is not == to {{headerchunkname}}
                [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]
                • 25899
                • 46 Posts
                Hi Chodges

                Have you tried right clicking and "Show source" just to verify that no menu points have been generated?

                I had a problem last week with wayfinder where it indeed put out the menu, but the css rendered out so that the a tags/list tags were very tiny so it seemed as if no menu came out, when it actually did.

                So I would try and "Show source", just to see what comes out.

                //Carsten
                  You don