Popup Calendar Widget

The PopupCalendarWidget is meant to replace the default calendar widget with an input field and a javascript popup calendar based on the DHTML Calendar that is included with Plone.

Current release
Popup Calendar Widget 1.0.5

Released Apr 20, 2009 — tested with Plone 3, Plone 2.5, Plone 2.1

Bug fixes
More about this release…

Download fileGet Popup Calendar Widget for all platforms (13.9 kB)
Products.PopupCalendarWidget Egg

Project Description

Popup Calendar Widget

About

The PopupCalendarWidget is meant to replace the default calendar widget
with an input field and a javascript popup calendar based on The DHTML
Calendar that is included with Plone.

Example

Create a calendar that doesn't show the time, starts on Wednesday, and isn't single click.

from Products.PopupCalendarWidget.PopupCalendarWidget import PopupCalendarWidget    

DateTimeField('theDate'
widget = PopupCalendarWidget(
label = 'The Date',
description = 'Enter a date',
shows_time = 'false',
firstDay = '3',
singleClick = 'false',
),
),

The widget takes most of the javascript parameters that the DHTML calendar takes. See the README file for a full list of parameters.