DittoCal ver. 1.1
The DittoCal snippet creates a monthly calendar for displaying your blog posts or any other document from MODx. DittoCal takes its data from a JSON page created by the Ditto snippet and then converts it into a calendar showing the most recent document first. The output also contains links to previous months so the user can view all of the posts.
Features
- Blog navigation displayed in monthly calendar format.
- Adjustable first day of week.
- Links to next/prev months.
- Customizable display length for day names.
- Classes for current post and each day link.
- Debug output to assist in fixing errors.
- Optional output to a placeholder.
Credits
The code to generate the calendar was provided by:
PHP Calendar (version 2.3), written by Keith Devens
http://keithdevens.com/software/php_calendar
see example at http://keithdevens.com/weblog
License: http://keithdevens.com/software/license