ASAP Framework has a follow-up: go to ASAP Library for our AS3 framework!

JSCalendarContrib

Mishoo JSCalendar, packaged for use by plugins, skins and add-ons.

Summary of Contents

This module packages the Mishoo JSCalendar Javascript in a form suitable for use with TWiki.

Detailed Documentation

%$POD%

Using the Calendar in user forms

You can also use the calendar directly in your own hand-built forms, without having to write any code. Just add this inline in the topic text:
%INCLUDE{"%SYSTEMWEB%/JSCalendarContribInline"}%
Then, to display a calendar icon next to a text input field:
<input type="text" id="cal_val_here" />
<input type="image" src="%PUBURL%/%SYSTEMWEB%/JSCalendarContrib/img.gif" onclick="javascript: return showCalendar('cal_val_here','%e %B %Y')" />
If the contrib is installed, you will see such a field here:

Installation Instructions

%$INSTALL_INSTRUCTIONS%
  • An administrator can customize the appearance of the calendar by setting the following in LocalSite.cfg
    Setting Default
    $TWiki::cfg{JSCalendarContrib}{style} 'blue'
    $TWiki::cfg{JSCalendarContrib}{lang} 'en'
    $TWiki::cfg{JSCalendarContrib}{format} '%e %b %Y'

Contrib Info

Another great TWiki extension from the WikiRing - working together to improve your wiki experience!

Author: TWiki:Main/CrawfordCurrie http://c-dot.co.uk
Version: %$VERSION% of the Mishoo calendar
Copyright ©: See the Mishoo documentation
License: GPL (GNU General Public License)
Dependencies: %$DEPENDENCIES%
Change History:  
6 Sep 2007 Bugs:Item4030 Added doc for using the calendar in user forms
13603 Bugs:Item2982 cleaned up the interface to the contrib, re-added a date rendering function with a more generic interface
11594 Allow format to be configured.
11415 Add a renderFormFieldForEditHandler so other plugins can forward to this handler to add the date field to the TWikiForms. (TWiki:Main.ThomasWeigert)
10247 Bugs:Item2054 put the calendar at z-index 2000, way above pattern skin divs.
6634 Bugs: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.
6626 Bugs:Item468 updated docs for Dakar release
5048 Cairo readiness
5039 Split from SharedCode?
27 Dec 2005 updated to calendar version 1.0; set style for Safari to win2k-1
14 Aug 2004 Separated out from SharedCode? module
Home: http://TWiki.org/cgi-bin/view/Plugins/JSCalendarContrib
Feedback: http://TWiki.org/cgi-bin/view/Plugins/JSCalendarContribDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/JSCalendarContribAppraisal

Related Topics: TWikiPreferences

Topic revision: r1 - 08 Sep 2007 - 16:52:05 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding ASAP? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.JSCalendarContrib