Skip to main content

A plone widget for archetypes using the jQuery UI calendar widget

Project description

ftw.calendarwidget

ftw.calendarwidget provides an archetypes calendar widget using the jQuery UI datepicker.

http://onegov.ch/approved.png/image

Certified: 01/2013

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')
...     ),
...
... ))

Screenshot

https://github.com/4teamwork/ftw.calendarwidget/raw/master/docs/screenshot.png

Changelog

1.1.6 (2013-01-30)

  • Do not use a square to mark required field, this will be done by CSS. [Julian Infanger]

1.1.5 (2013-01-21)

  • onegov.ch approved: add badge to readme. [jone]

  • Make ftw_calendar.js fire the ‘calendar_after_change’ event again. [tschanzt]

  • Don’t split date with ‘/’ use ‘-’ instead. [tschanzt]

1.1.4 (2012-10-16)

  • Fixed widget selecting wrong month. [Julian Infanger]

  • Fix IE8 issues. [mathias.leimgruber]

  • Added test setup and some integration tests. [mathias.leimgruber]

  • Fix communication between datepick widget and select fields. [mathias.leimgruber]

1.1.3 (2012-08-24)

  • Fix missing Label. [tschanzt]

1.1.2 (2012-03-09)

  • Prepare for public release. [jone]

1.1.1 (2012-03-07)

  • Fix Manifest.in (include .rst) [mathias.leimgruber]

1.1 (2012-03-05)

  • Code cleanup and documentation.

1.0c2 (2011-04-01)

  • Little bit refactoring, because of some js errors. Added calendar_after_change jquery event on at-field-wrapper element. [mathias.leimgruber]

1.0c1 (2011-02-02)

  • Fix default_date (for IE7). [mathias.leimgruber]

  • Clean up js code for IE7/8. [mathias.leimgruber]

1.0a2 (2010-10-26)

  • removed unused browserlayer [mathias.leimgruber]

  • fixed resources [phgross]

  • change collective.jqueryui to collective.js.jqueryui and fixed some templates for plone4 support [phgross]

1.0a1 (2010-04-13)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftw.calendarwidget-1.1.6.zip (42.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page