Hi, I have an Archivist issue:
I’ve created a unordered list for the archives:
<ul>
[[!Archivist? &parents=`3` &tpl=`news_links` &setLocale=`true` &target=`25`]]
</ul>
And I’ve set every document that uses this chunk to uncached.
The tpl news_links looks like this:
<li><a href="[[+url]]">[[+date]]</a></li>
The Archive resource is set to uncached and contains the following code:
[[!getArchives?
&parents=`3`
&tpl=`news_archives`
&toPlaceholder=`archives`
]]
<div id="overview">
[[!+archives]]
</div>
The tpl news_archives is setup like this:
<article class="item archive">
<a href="[[~[[+id]]]]" class="link_more">
<h1>[[+pagetitle]]</h1>
</a>
<p class="item_date"><time datetime="[[+publishedon:strtotime:date=`%Y-%m-%d`]]" pubdate>[[+publishedon:locale=`nl_NL`:strtotime:date=`%d %b %Y`]]</time></p>
<p>[[+introtext:ellipsis=`280`]] <a href="[[~[[+id]]]]">Lees verder</a>.</p>
</article>
The getPage resource for which the archives ares used for, looks like this:
<div id="overview">
[[!getPage@Lassen:default=`<p>Geen resultaten.</p>`? &element=`getResources` &parents=`[[*id]]` &tpl=`news_overview` &showHidden=`1` &includeTVs=`1` &processTVs=`1` &tvPrefix=`` &cache=`0`]]
</div>
Now, the Archivist link works perfectly on every page, except on the Archive page itself. On that page, it has suddenly reverted back to the default English date. Instead of the Dutch one. The Archive page
has been set to uncached, but no archived resources are visible! The archive is empty!
I’m almost certain this behavior wasn’t visible before I upgraded to 2.1.1 PL. I’m not 100% certain though. Is there anything I’m missing here?