JSCalendar Add-On
The
JSCalendarAddOn allows the javascript calendar from
JSCalendarContrib to be used for any form. It also supports the use of the contrib from
EditTablePlugin. Credit goes to
TWiki:Main.ColasNahaboo
(whose
TWiki:Codev.JavaScriptDatePickerForForm
I modified slightly) and
TWiki:Main.CrawfordCurrie
(who packaged
JSCalendarContrib).
Usage
- Install the add-on
- You may modify date format, language, or other options used in the calendar by setting the preference variables
JSCALENDARDATEFORMAT, JSCALENDARLANGUAGE, and JSCALENDAROPTIONS as discussed in the documentation included in JSCalendarContrib
- A patch to
lib/TWiki/Plugins/EditTablePlugin.pm is attached also which makes EditTablePlugin depend on JSCalendarContrib rather than duplicating this functionality.
Add-On Installation Instructions
Note: You do not need to install anything on the browser to use this add-on. The following instructions are for the administrator who installs the add-on on the server where TWiki is running.
- Download the patch file from the Add-on Home (see below)
- Patch the following files with
JSCalendarAddOn.patch in your twiki installation directory. Content:
- Test if the installation was successful:
- Create a form with a date field. A popup calendar should appear.
Add-On Info
Related Topic: DateFieldPlugin
--
TWiki:Main/ThomasWeigert
- 07 Feb 2005