Popup Calendar Widget
Category: Fields and widgets
—
Other products by this author
Current release: Popup Calendar Widget 1.0.3
Released Aug 23, 2007 — tested with Plone 2.5, Plone 2.1
Fixed a bug with the helper_css in the widget
Experimental releases
There are no experimental releases available at the moment.
Project Description
- Project resources
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.