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:
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.]