I have Ditto v.2.0.2 doing almost everything perfect...with one hiccup.
The situation is this:
Running MODx v 0.9.6.1B
There is an article page that also shows an archive, or listing, of all the published articles in a sidebar. The article with the most recent published on date shows up as desired (title, date, content). But, a previous article is showing up with (title, date of most recent article, content).
The correct dates are showing up in the sidebar, but not in the actual main article section.
See example here:
http://www.ayudaconsulting.com/test-article-3
Notice "Test Article 3" shows up with the correct publish date of "January 11, 2008" in the sidebar, but pulls the date from the most recent article for the main content.
Here’s what I have going on:
{{ArticleArchiveTemplate}} Template Variable shows archive listing in sidebar
<h2 class="article_archive"><a href="[+alias+]" title="[+title+]">[+title+]</a></h2>
<div class="date">[+date+]</div>
{{ArticleTemplate}} Template Variable shows article as main content
<h1>[*pagetitle*]</h1>
<p class="article_meta">[+date+] <em>by Mary Mitchell</em></p>
<p>[*content*]</p>
And the calls from the page template for the Article pages
[b]Sidebar archive listing call
[[Ditto? &tpl=`ArticleArchiveTemplate` &parents=`4`&display=`all` &dateSource=`pub_date` &sortBy=`pub_date` &dateFormat=`%B %d, %Y`]]
[b]Main article call
[[Ditto? &tpl=`ArticleTemplate` &parents=`4`&display=`1` &sortBy=`pub_date` &dateSource=`pub_date` &dateFormat=`%B %d, %Y` ]]
I’ve done a few days of searching and can’t seem to find the thing that’s causing the issue.
Please advise or let me know if there is more clarification needed.