We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15001
    • 697 Posts
    I scratched my head during one day as parentRowTpl, parentRowHereTpl and activeParentRowTpl were ignored by a website and not by another one, until I found out that the websites were using two different versions of wayfinder.inc.php.

    Thoses versions are both dated from February 27, 2006 but have lot of differences in their code. Version 2.0 is working correctly, whilst version 2.0.4 is not.

    As I'm not totally sure where do the versions that I use originates from, as I'm often doing "copy paste" from existing MODx Evo installations.

    I attach both versions here, in zip files, so that you can compare with the ones you're using.
    • Better post those issues in the new Evo CMS GitHub repo. https://github.com/evolution-cms/
        • 9995
        • 1,613 Posts
        Whats the Evo version and Wayfinder call? And whats in parentRowHereTpl and activeParentRowTpl?

        Some example without chunks:

        [!Wayfinder? 
        &startId=`0` 
        &level=`2` 
        &firstClass=`first`
        &removeNewLines=`1`
        &outerTpl=`@CODE:<ul>[+wf.wrapper+]</ul>`
        &rowTpl=`@CODE:<li[+wf.classes+]><a href="[+wf.link+]" [+wf.attributes+]>[+wf.linktext+]</a>[+wf.wrapper+]</li>`
        &parentRowTpl=`@CODE:<li class="has-submenu [+wf.classnames+]"><a href="[+wf.link+]">[+wf.linktext+]</a>[+wf.wrapper+]</li>`
        !]


        Can't do these to "here" tpls with just CSS by using the active class?

        Like ul > li.active > a{}
          Evolution user, I like the back-end speed and simplicity smiley