Hi Shawn,
:) Let me explin a little better what I meant:
I included an HTML comment to see if I get the updated version and NOT some old cached output. If I was to include a MODX comment that wouldn't work would it?! My thought was this: If I include some HTML along side the changes I made to the Wayfinder call I would be sure to see that I really get the newest version of the script. So I include <!-- testnav2 --> <!-- testnav3 --> or <!-- testnav5 --> etc... every time I change something that I want to test. In the outputted HTML I can then see what version of the code I am looking at. A quasi DIY-version-management for the poor so to speak
As to your questions: Yes I have emptied the cache and verified the folder actually being empty afterwards.
The HTML output is as follows:
<nav role="navigation">
<ul><li class="first active"><a href="http://domain.tld/" title="Home" >Home</a></li>
<li><a href="news/all/" title="News" >News</a><ul><li class="first"><a href="http://domain.tld/news/all/" title="National News" >All</a></li>
<li><a href="http://domain.tld/news/tour/" title="Tour" >Tour</a></li>
<li><a href="http://domain.tld/news/release/" title="Release" >Release</a></li>
<li><a href="http://domain.tld/news/dance/" title="Dance" >Dance</a></li>
<li><a href="http://domain.tld/news/gig/" title="Gig" >Gig</a></li>
<li><a href="http://domain.tld/news/festival/" title="Festival" >Festival</a></li>
<li><a href="http://domain.tld/news/industry/" title="Industry" >Industry</a></li>
<li><a href="http://domain.tld/news/film/" title="Film" >Film</a></li>
<li class="last"><a href="http://domain.tld/news/arts/" title="Arts" >Arts</a></li>
</ul></li>
<li><a href="/events" title="the Guide" >the Guide</a><ul><li class="first"><a href="http://domain.tld/guide/gig-news/" title="Gig News" >Gig News</a></li>
</ul></li>
<li><a href="interviews/all/" title="Interviews" >Interviews</a><ul><li class="first"><a href="http://domain.tld/interviews/all/" title="Interviews" >All</a></li>
<li><a href="http://domain.tld/interviews/music/" title="Music" >Music</a></li>
etc...
</ul>
</nav> <!-- testnav18 -->
The snippet looks like this:
<li[[+wf.id]][[+wf.classes]]><a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>[[+wf.wrapper]]</li>
I tested this snippet too by adding a hash to its title like so:
<li[[+wf.id]][[+wf.classes]]><a href="[[+wf.link]]" title="#[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>[[+wf.wrapper]]</li>
Which resulted in:
<nav role="navigation">
<ul><li class="first active"><a href="http://domain.tld/" title="Home" >Home</a></li>
<li><a href="news/all/" title="#News" >News</a><ul><li class="first"><a href="http://domain.tld/news/all/" title="National News" >All</a></li>
<li><a href="http://domain.tld/news/tour/" title="Tour" >Tour</a></li>
<li><a href="http://domain.tld/news/release/" title="Release" >Release</a></li>
<li><a href="http://domain.tld/news/dance/" title="Dance" >Dance</a></li>
<li><a href="http://domain.tld/news/gig/" title="Gig" >Gig</a></li>
<li><a href="http://domain.tld/news/festival/" title="Festival" >Festival</a></li>
<li><a href="http://domain.tld/news/industry/" title="Industry" >Industry</a></li>
<li><a href="http://domain.tld/news/film/" title="Film" >Film</a></li>
<li class="last"><a href="http://domain.tld/news/arts/" title="Arts" >Arts</a></li>
</ul></li>
<li><a href="/events" title="#the Guide" >the Guide</a><ul><li class="first"><a href="http://domain.tld/guide/gig-news/" title="Gig News" >Gig News</a></li>
</ul></li>
<li><a href="interviews/all/" title="#Interviews" >Interviews</a><ul><li class="first"><a href="http://domain.tld/interviews/all/" title="Interviews" >All</a></li>
<li><a href="http://domain.tld/interviews/music/" title="Music" >Music</a></li>
<li><a href="http://domain.tld/interviews/arts/" title="Arts" >Arts</a></li>
<li><a href="http://domain.tld/interviews/film/" title="Film" >Film</a></li>
<li class="last"><a href="http://domain.tld/interviews/industry/" title="Industry" >Industry</a></li>
</ul></li>
<li><a href="http://domain.tld/reviews/" title="#Reviews" >Reviews</a><ul><li class="first"><a href="http://domain.tld/reviews/album/" title="Reviews - Album" >Album</a></li>
<li><a href="http://domain.tld/reviews/film/" title="Reviews - Film" >Film</a></li>
<li><a href="reviews/live/nsw/" title="Live" >Live</a></li>
<li><a href="http://domain.tld/reviews/gear/" title="Reviews - Gear" >Gear</a></li>
<li><a href="reviews/arts-review/nsw/" title="Arts" >Arts</a></li>
<li class="last"><a href="http://domain.tld/reviews/comedy/" title="Reviews – Comedy" >Comedy</a></li>
etc...
</nav> <!-- testnav19 -->
That proved to me that firstly the cache is not the problem and secondly neither is the template(snippet) that is used as the very same outputs both, relative and absolute addresses.
Like I said I have removed the cache wrapper for now to find the cause of this problem.
I am using wayfinder-2.3.3-pl in MODX Revolution 2.2.8-pl (traditional).
The site is a decent size and has some legacy code sprinkled everywhere. I just recently joined the team. Everything works though...
I do really appreciate the support
[ed. note: dominikwilkowski last edited this post 13 years, 2 months ago.]