We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5225
    • 4 Posts
    I have updated to WF 2.0. I used the version distributed with MODx 0.9.6-RC1 before, which seemed to work.

    To update, I
    - deleted the /assets/snippets/wayfinder/ folder
    - uploaded the unzipped distribution into the above, newly created folder
    - copied the contents of the included "wayfinder.snippet.php" file (not: "wayfinder.snippet.tpl.php" as said in the documentation - such a file did not exist in my distribution) into my Wayfinder snippet

    After that, my Wayfinder call in my template produced no longer any output.

    I then turned on debugging mode using &debug=TRUE. This gives me debug output with all parameter settings as I set them, and at the top a red message: No documents found for menu..

    The Wayfinder call I use is as follows:

    [tt][[Wayfinder? &debug=TRUE &startId=0 &level=3 &hideSubMenus=FALSE &hereClass=activePath &selfClass=currentPage &parentClass=isFolder &levelClass=menuLevel]][/tt]

    I also tried the variant with [tt][! ... !][/tt] as can be seen in some portions of the documentation, to no avail.

    Can anyone give me a hint as to what the problem could be here?
      • 15987
      • 786 Posts
      all of your parameters need to have backtics around them.

      like

      &startId=`0`
        • 5225
        • 4 Posts
        Thank you very much, this seems to have fixed it.

        I still wonder why it then would work at all without backticks in Wayfinder 1.0.1 (and even with some parameters, like debug, in Wayfinder 2.0). huh