Downloads » Resources » DittoCal » DittoCal | Extras » AKi_LinkDittoCal

AKi_LinkDittoCal

  • Currently 4.2941176470588/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
17 vote(s).

by andrazk

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

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' !]
Parameter: &containerIds - a coma delimited list of containers with documents for which the calendar will be updated.

Example:
<div id="calendar">
<h2>Events</h2>
[!AKi_LinkDittoCal? &containerIds=`8,12`!]
[!DittoCal? &calSource=`http://www.source.my/dittocal_json` &firstDay=`1`!]
</div>
Where 8 is the ID of my blog posts container and 12 is the ID of my galleries container.

Updates


( back to top )