ftw.calendarwidget is a Plone product that provides an archetypes calendar widget using the jQuery UI datepicker.
Usage
- Add ftw.calendarwidget to your buildout configuration:
[instance]
eggs +=
...
ftw.calendarwidget
- Import the generic setup profile for ftw.calendarwidget
- Use it in your archetypes schema:
>>> from Products.Archetypes import atapi
>>> from ftw.calendarwidget.browser.widgets import FtwCalendarWidget
>>> MySchema = atapi.Schema((
...
... atapi.DateTimeField(
... name='mydate',
... widget=FtwCalendarWidget(label='My Date')
... ),
...
... ))
Product's homepage
Requirements:
· Python
· Plone CMS
What's New in This Release: [ read full changelog ]
· Do not use a square to mark required field, this will be done by CSS. [Julian Infanger]