Looks like something may be wrong with the data coming in from the json page. Try viewing the json page to make sure the dates are showing correctly for each post.
yep, looks like a ditto problem. look at the template being used for the json output and add in the comma.
In case it helps anyone trying to get this working with Ditto 1.1 (Beta), the name of the date value has been changed in the JSON output, which stops DittoCal working.
To make it work, replace (in the DittoCal snippet) every occurance of
pubDate
with
date
Author:
ManagerManager plugin - customise your ModX manager interface
Rckt - web development, Sheffield, UK
Hi there,
I’ve installed DittoCal yesterday and when I tried to run the page where I want to display DittoCal, mysql server stopped to work... I got the message "too many connections" and CPU charge and RAM charge increased to 99%.
After a restart of the server, I tried again to access the page : same.
So, I deleted DittoCal from my install and the site worked.
But now, if I check the content of database, I see modx_event_log is 1Go ! mysql is slow... I try to get some error logs to show you but it’s long long...
I’m not sure it comes from DittoCal, unless it’s the only snippet I installed yesterday night... I would like to get some logs to be sure that it comes from DittoCal. I try to tell you when I know.
Edit : I trunc the modx_event_log table. So I can’t see error logs.
I forgot to tell you the snippet call : [!DittoCal? &calSource=`[(site_url)]/blog_json_output` &dayNameLength=`1`!]. Is that wrong ?
Perrine,
Try loading the page blog_json_output and make sure it loads correctly. You should see the json output. I’ve never heard of this snippet adding anything to the error log, so I’m not sure if this snippet is causing your problem or not.
Perrine,
What version of ditto are you using? If you are using version 1.1 or newer you need to replace pubDate with date in the dittocal code. I have not had a chance to update this.