Hi all, I just upgraded Ditto and DittoCal to the latest versions on a 0.9.5 MODx, here are a few observations.
DittoCal 1.2 did not like Ditto 2.0.1 Json output, for the calendar to work I had to use Ditto 2.0.2 SVN.
the &id-&landing combo in the DittoCal call do filter the posts day-by-day correctly, but the month on that filtered page is not preserved: for example clicking on Feb 16th gives me 3 articles edited on that date, but the calendar goes back to April (the default, i.e. the month with the newest post); it would be much more logical if february was still displayed.
For the $monthlinks array I am using urls such as:
http://www.mysite.it/language/News.html?newspage_month=2&newspage_year=2007 (...no newspage_day)
these correctly list all posts of the month but suffer from the same mismatch between the posts-dates and the calendar-month described above.
The next/previous month links use cal_month cal_year variables in place of newspage_month/year, and thus do not filter the results; clicking them you go back to the full Ditto list of posts. Moreover I don’t see how to manage a multilingual site with a single $monthlinks array, aside from duplicating the Snippet and calling one or the other according to the language chosen.
I think it would be much simpler if Dittocal appended newspage_ variables everywhere, and the user can only choose wether to activate the links on the month and on the previous/next arrows with a [0,1] parameter. This way one does not have to remember editing the snippet code to insert new months.