We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11149
    • 17 Posts
    Hello,

    I'm using Wayfinder (2.3.3) and Revo(2.1.5-pl) to create a navigation list. I have an issue with the scheme for the generation of URL's.

    I use the default relative URL scheme (&scheme=`-1`).
    and my generated HTML code looks basically like this:
        <ul role="navigation">
          <li><a href="http://zetsolar.de/modx/">Home</a></li>
          <li><a href="orders/">orders</a>
          <li><a href="contakt/index.html">contakt</a></li>
        </ul>
    

    Sorry the code is a bit mangled du to http://bugs.modx.com/issues/5861"" target="_blank" rel="nofollow">this Forum bug.
    There are some additional attributes in the second line after the <li></li> element
    .


    The first link is the link to the base site (site_url) of the Homepage.
    Now in the Wayfinder parameter description it says:
    -1 : (default value) URL is relative to site_url
    .

    Shouldn't the link relative to the base URL in the first item be like this:
    <a href="/">Home</a>


    Is this wrong handling of the base URL (site_url) path a bug in Wayfinder or expected behavior? Will I have to cut it manually (php/snippet) to get the expected behavior or is there another way?



    Any help would be appreciated.

    PS: Big thanks to all the people who contributed to Wayfinder. It's really helpful. [ed. note: gottkaiser last edited this post 12 years, 4 months ago.]
      • 10525
      • 247 Posts
      I am trying to figure out the answer to this exact question.

      I am using Revo 2.2.14

      Did you discover the answer?