We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10751
    • 5 Posts
    I had a hard time trying to use my config file with Wayfinder 2.1 in MODx 2.0.0 beta3. Looking at the code I saw that the str_replace function had only 2 parameters, not 3 as it should. So I replaced the dot with a comma in the package, line 24 in wayfinder.snippet.php:
    $scriptProperties['config'] = str_replace('../'.'',$scriptProperties['config']);

    modified to
    $scriptProperties['config'] = str_replace('../','',$scriptProperties['config']);

    and - the harder one since I’m new to the package philosophy - in 78817be62156c13a0b3cc022adace61b.vehicle in line 22, which is a long one, it’s easier to search for the same text as above. And it worked.
    Mind you, I did all of these BEFORE installing the package.
    Hope this helps.

    I’m sure that there is a way to report bugs for Wayfinder, but couldn’t find it (need sleep).
      • 16183
      • 1,390 Posts
      Good catch,

      I think this is where you can report this.

      cheers/k
        • 3749
        • 24,544 Posts
        Quote from: kongondo at Aug 31, 2009, 06:00 AM

        Good catch,

        I think this is where you can report this.

        cheers/k

        Done! Thanks for catching this. smiley
          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