AKi_LinkDittoCal
It links the current document with the DittoCal calendar and updates DittoCal.
Works with MODx Version(s): 0.9.5, 0.9.2.2, 0.9.2.1
Submitted: Dec 11th 2006 | License: Free | Downloads: 995
Parameter: &containerIds - a coma delimited list of containers with documents for which the calendar will be updated.
Example:
Where 8 is the ID of my blog posts container and 12 is the ID of my galleries container.
Submitted: Dec 11th 2006 | License: Free | Downloads: 995
Description
It links the document with the DittoCal calendar. If you open a document, the calendar is updated and it displays the month/day of the 'createdon' date of the document.
You can set it to work only with children of specific containers (blog posts, articles, gallery).
Instructions
Call the snippet prior to the DittoCal call.
Usage:
[!AKi_LinkDittoCal? &containerIds='8,12' !]
Example:
<div id="calendar">
<h2>Events</h2>
[!AKi_LinkDittoCal? &containerIds=`8,12`!]
[!DittoCal? &calSource=`http://www.source.my/dittocal_json` &firstDay=`1`!]
</div>
Updates