I’ve read through some other posts and tried the suggestions of people that had the same problem.
Here is my Ditto call in my template
[!Ditto? &startID=`[!current_resource_id!]` &sortBy=`createdon` &sortDir=`ASC` &display=`5` &tpl=`blog_summary_list` &paginate=`1` &paginateAlwaysShowLinks=`1` !]
<p>Showing <strong>[+start+]</strong> -
<strong>[+stop+]</strong> of <strong>[+total+]</strong> Articles
<strong>[+currentPage+]</strong> of <strong>[+totalPages+]</strong>
</p> <div id="ditto_pages"> [+previous+] [+pages+] [+next+] </div>
Whenever I try using an &id and update the placeholders accordingly, they don’t work at all.
The page that uses the template is NOT cacheable. I’ve emptied the site cache.
The current_resource_id just gets the current page id. I’ve also tried hardcoding a number to rule that out.
So the problems are....
The pagination doesn’t return the right number of results,
The links don’t work,
It just doesn’t work.
Here is an example page that I’m looking at:
http://www.timoleon.co.uk/index.php?id=156
I’m expecting to have 6 results returned.
Any ideas?
PS Using Ditto 2.1 and Modx 1.0.0! Aye, just realized this was 1.0.0. Working on this with someone else that set it up.
Does anyone know if that is actually the problem or not?