We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40624
    • 27 Posts
    Bewildered by a Wayfinder issue which I have not experienced before in my very short MODx life. A development site of less than 10 pages at (www.buymyyacht.co.uk) has five main pages.

    1 Therapy
    2 How can we help
    3 FAQs4
    4 Our team (with three subpages)
    5 Contact us

    When viewed from the manager or another browser only 1 and 5 show but after clicking on 5 the full menu is shown.
    All pages (resources) are published, using the same template and non are hidden. Can any one see where I have gone wrong?
    Thanks Mike

    MODX Rev 2.2.8 pl traditional. Wayfinder 2.3.3.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I doubt this has anything to do with it, but you should validate the pages http://validator.w3.org/check?uri=http%3A%2F%2Fwww.buymyyacht.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

      Please copy and paste your Wayfinder snippet call here.

        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 40624
        • 27 Posts
        Sottwell,

        Validator has reported errors in my template and my attempts to correct them has lead to more errors. I will spend some time on this and pick up the conversation tomorrow. Enclosed the snippet call below - thanks for the input. Mike

        [[!Wayfinder?
        &startId=`0`
        &outerTpl=`WayfinderOuter`
        &innerTpl=`WayfinderInner`
        &parentRowTpl=`WayfinderParentRow`
        &rowTpl=`WayfinderRow`
        &cssTpl=`WayfinderCss`
        &outerClass=`menu`
        ]]
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          So far so good. Now can you post the tpls? If you use the "code" tags (the < > button in the editor toolbar) the code is easier to read.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 10076
            • 1,024 Posts
            Hmm, so only first and last active are showing, should look there somewhere. What happens if you defien anothere page as last, just to find out is indeed first and last active are the cause?
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              I was suspecting tpls.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 40624
                • 27 Posts
                Sottwell, site passed validation but error with navigation remain. Below is the Wayfinder snippet and the respective chunks. The css file dropdown_ttt.css is a direct copy of Wayfinders dropdown.css with minor changes. Does any of this help?
                Mike

                [[!Wayfinder?
                &startId=`0`
                &outerTpl=`WayfinderOuter`
                &innerTpl=`WayfinderInner`
                &parentRowTpl=`WayfinderParentRow`
                &rowTpl=`WayfinderRow`
                &cssTpl=`WayfinderCss`
                &outerClass=`menu`
                ]] 


                <!-- [b]wayfinder outer chunk[/b] --> 
                <div[[+wf.classes]]>
                  <ul>
                      [[+wf.wrapper]]
                  </ul>
                </div>


                <!-- [b]wayfinder inner chunk[/b] --> 
                  <ul>
                      [[+wf.wrapper]]
                  </ul>
                


                <!-- [b]wayfinder parent row[/b] --> 
                <li><a [[+wf.classes]] href="[[+wf.link]]" title="[[+wf.title]]">
                   [[+wf.linktext]]</a> [[+wf.wrapper]]</li>


                <!-- [b]wayfinder row[/b] --> 
                <li[[+wf.classes]]> <a href="[[+wf.link]]" title="[[+wf.title]]">
                   [[+wf.linktext]]</a> [[+wf.wrapper]]</li>


                <!-- [b]wayfinder css[/b]  --> 
                <link rel="stylesheet" media="all" type="text/css" href="core/components/wayfinder/examples/cssplay/dropdown_ttt.css" />  




                  • 37047 ☆ A M B ☆
                  • 309 Posts
                  I would start without any tpls and then adding them back in one at a time.

                  What result do you get when you just call:
                  [[!Wayfinder? &startId=`0`]]

                  ?
                    Lucy Iannotti
                    Following Sea design & development
                    http://www.following-sea.com
                    New Bedford, MA
                    • 40624
                    • 27 Posts
                    Lucy,

                    Just tried that (minimum call) and no navigation bar appeared.

                    Mike
                      • 37047 ☆ A M B ☆
                      • 309 Posts
                      Nothing at all? Is there a UL in the source code? (When you view the source for the page what is there where the navigation should be?)
                        Lucy Iannotti
                        Following Sea design & development
                        http://www.following-sea.com
                        New Bedford, MA