This module packages the Mishoo JSCalendar Javascript in a form suitable for use with TWiki.
Detailed Documentation
Read the Mishoo documentation or visit the demo page.
This package also includes a small Perl module to make using the calendar easier from TWiki plugins. This module includes the function:
addHEAD( $setup )
that can automatically add the required headers to the page being rendered. $setup is the name of the calendar setup module; it can either be ommitted, in which case the method described in the Mishoo documentation can be used to create calendars, or it can be 'twiki', in which case a helper function is added that simplifies using calendars to set a value in a text field. For example,
The first parameter to showCalendar is the id of the textfield. See the Mishoo documentation for details of the '$e %B %Y' parameter.
Note that the header will only be added once, regardless of the number of times that addHEAD is called.
addHEAD can be called from commonTagsHandler for adding the header to all pages, or to beforeEditHandler just for edit pages etc.
Settings
Name of the perl package
Set STUB = TWiki::Contrib::JSCalendarContrib
What do I do
Set SHORTDESCRIPTION = Mishoo JSCalendar, packaged for use by plugins, skins and add-ons.
Installation Instructions
Download the archive from the Plugins web (see below)
Unpack it in your twiki installation directory. Content:
Item2054 put the calendar at z-index 2000, way above pattern skin divs.
6634
Item453 removed EditTablePlugins private copy of the Mishoo JS calendar, and made sure it works with JSCalendarContrib. Improved the documentation of the JSCalendar while I was there.