We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10208 ☆ A M B ☆
    • 1,780 Posts
     [[Wayfinder?startId=`0` &excludeDocs=`1,2,3,4,5,6,7` &level=`2` &outerTpl=`mnews.OuterTpl`  &innerTpl=`mnews.InnerTpl` &rowTpl=`mnews.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &parentRowTpl=`mnews.ParentRowTpl` &firstClass=`first` &hereClass=`current` &selfClass=`here` &rowIdPrefix=`tm`  &sortBy=`menuindex` &sortOrder=`asc` ]]


    See the startId=`0` parameter? (it should be &startId=`0` actually, you should change that) That's telling Wayfinder to start with top level resources. When you created a duplicate top level resource, but didn't exclude it from the Wayfinder call it got included. Rather simple actually. If you'd shoved that resource into any other container document, it wouldn't show. (&level)

    I'm also a tad confused about the tags, as this is clearly an Evolution MODX installation, yet the Wayfinder bits are using Revolution brackets. While it seems to work... you may want to change that to Evo brackets (single brackets). Actually, the Ditto bits are using Revo brackets too.

    [Wayfinder? &startId=`0`]   <---  Evolution
    
    [[Wayfinder? &startId=`0`]]   <---  Revolution

      Frogabog- MODX Websites in Portland Oregon
      "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
      Having server issues? These guys have MODX Hosting perfected - SkyToaster
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      As a side note, if you want a resource to virtually "duplicate" an existing resource only for use as a link or menu item, use a "weblink" type resource. These simply redirect the visitor to the desired page.
        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
        • 22427
        • 793 Posts
        @Frogabog:

        Unless used in an uncached call, snippet brackets have to be doubled in Evo too:
        [[Wayfinder? &startId=`0`]]   <---  Evolution 
        [[Wayfinder? &startId=`0`]]   <---  Revolution

        Just in an uncached call there is a difference:
        [!Wayfinder? &startId=`0`!]   <---  Evolution 
        [[!Wayfinder? &startId=`0`]]   <---  Revolution


          • 10208 ☆ A M B ☆
          • 1,780 Posts
          Thanks Ottogal, I did NOT know that. I learn something new about Evo... once a month maybe. heh

          I assume the same holds true for Ditto (never used it).

            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster
            • 22427
            • 793 Posts
            I assume the same holds true for Ditto
            Yes, for any snippet.
            http://rtfm.modx.com/display/Evo1/Snippets
            For a comparison Evo vs. Revo:
            http://rtfm.modx.com/display/revolution20/Tag+Syntax [ed. note: ottogal last edited this post 13 years, 6 months ago.]
              • 3749
              • 24,544 Posts
              There's summary of the tag syntax here: http://bobsguides.com/revolution-tags.html.

              The "Old" tags are for Evolution.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 10208 ☆ A M B ☆
                • 1,780 Posts
                I keep thinking I'm going to instal Evo someday and play around with it. But I never do. There's plenty to play with in Revo, and then there's the possibility that I may never have to muck about with an Evo site anyway. I'll cross that bridge when/if I get to it.

                I'm glad the tag syntax was changed for Revo, it's quite a bit simpler.

                  Frogabog- MODX Websites in Portland Oregon
                  "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                  Having server issues? These guys have MODX Hosting perfected - SkyToaster
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Evo is much simpler to work with for developers, but it needs a lot of work. The tricky part will be to "fix" it without bloating it so that it loses what advantages that it does have.
                    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
                    • 26027
                    • 145 Posts
                    A few words of thanks to Frogabog and Susan Sottwell.

                    Everything is working fine now on my web site. Almost as important to me as having it fixed is understanding why it broke in the first place. The two of you did a thorough job explaining that.

                    Along the way toward a solution I asked how it could possibly make a difference if Wayfinder was excluding ID 1 and you asked me to remove that resource from the exclude list if I wanted to use the correct link. I found it very, very interesting that when I created the high level duplicate ID that Wayfinder would, by default, use it in building the menu. That revelation tied this whole experience together for me and made me feel good that my inexperience did not cause the problem.

                    By the way, that 'Home' link didn't belong at all in the menu! I thought it did and was upset that it was incorrect. I've since removed it by unchecking 'show in menu' from the duplicate. As was suggested I could have moved the duplicate to a container, to reduce its 'level'.

                    So ... thank you again Frogabog and Susan. You two sure know your stuff and have made me a happy camper .... Sam (Gerber)
                      • 10208 ☆ A M B ☆
                      • 1,780 Posts
                      Quote from: samg at Apr 03, 2013, 09:22 AM


                      By the way, that 'Home' link didn't belong at all in the menu! I thought it did and was upset that it was incorrect. I've since removed it by unchecking 'show in menu' from the duplicate. As was suggested I could have moved the duplicate to a container, to reduce its 'level'.

                      Good to know all is well for you Sam. Just for clarification, moving the resource into a container was just an example of how you could have duplicated it and not have it show in the upper level menus like it did. Unfortunately, if you've got submenus in other pages it would have shown there.

                      Unless there's some reason to keep that resource (448), I'm thinking you can just delete it. Unchecking show in menu does the trick, and it would have also from the very beginning, but having resources you don't need floating around might not be the best of ideas overall.

                      Let us know when/if you need more assistance. (Susan knows everything... btw :~} )
                        Frogabog- MODX Websites in Portland Oregon
                        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                        Having server issues? These guys have MODX Hosting perfected - SkyToaster