I’ve explored dateFilter a bit further, and what is laid out below works for me with MODx 0.9.6.3 (and Ditto 2.1+ that comes with it), PHP 5.2.1, Apache 2.2 and MySQL 5.0.37 on my Windows PC. Be aware that the dateFilter, as far as I can make out, is intended for use together with the Reflect archive generator, rather than directly in Ditto. But it works! Beware also cache issues -
Ditto is normally used [[cached]], and needs to be if you want pagination to work. But if you also have the PHx plugin installed (as I do), you have to make the document with the Ditto call "not cacheable" in the Page Settings area to avoid a conflict. [[later EDIT: Ditto may normally be cached or uncached, but if using pagination, must be
uncached when except when PHx is active, when the call is cached and page non-cacheable]].
So here it is, for what it’s worth. I have tried it on a test set of over 50 documents with random dates in my template variable pkDate, which is a straightforward date TV with the Unixtime widget.
[[Ditto? &parents=`711` &extenders=`dateFilter` &config=`getDate` &orderBy=`pkDate ASC` &paginate=`1` &display=`5`]]
[+pages+]
Notes:
&extenders: just give the name, Ditto works out the filename and location for itself.
&display sets how many items to show per page -
&summarize is another outdated parameter
&config links to an external PHP file with further parameters and setup code, including extraction of GET variables, stored in Ditto’s
config folder as
getDate.config.php.
<?php
// config file for filtering by date in URL
// TEST VERSION ONLY - needs some checks on the date values
$dateSource='pkDate';
$dateFilterSource='pkDate';
if (isset($_REQUEST['year'])) {
$year = $_REQUEST['year'];
if (isset($_REQUEST['month'])) {
$month = $_REQUEST['month'];
if (isset($_REQUEST['day'])) {
$day = $_REQUEST['day'];
}
}
}
?>
With no template specified, this uses the built-in Ditto template and shows pkDate as the date. The filter values are passed in the URL as /server/doc.html?year=2007&month=10&day=28 etc. This is test code only - you’d want to make it a little more specific and secure for the real thing. The pagination happily attaches the page-selection query values to the date-selection ones just by sticking [+pages+] at the bottom.
I hope this helps. Given that dateFilter doesn’t seem to be primarily intended to work this way, it might not merit too much sweat if you can’t get it going - it should be possible to take the &filter approach further, and there are bound to be other ways to attack the problem. I just happen to be working on a demo of Ditto 2.1 parameters and operation (which I’ll share if it comes to anything), and this was an interesting sideline.

KP