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.2.0 (2019-04-08)

  • Drop Plone 4.2 support. [mbaechtold]

  • Remove unused helper JavaScript in the widget configuration. [mbaechtold]

  • Drop Plone 4.1 support. [jone]

1.1.12 (2016-09-26)

  • Fix bad widget JS declaration in order to support chameleon. [jone]

1.1.11 (2014-10-02)

  • Fix JavaScript error when having a negative GMT timezone. [jone]

1.1.10 (2014-09-08)

  • JavaScript: make init_datepicker function public. This is useful in combination with AJAX. [jone]

1.1.9 (2014-04-23)

  • Respect Start and End year of Plone. [tschanzt]

1.1.8 (2013-08-26)

  • Fix month picking for Plone 4.3 jQuery version. [jone]

1.1.7 (2013-03-17)

  • Plone 4.3 support, The DateTimeWidget changed. [mathias.leimgruber]

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.2.0.tar.gz (35.0 kB view details)

Uploaded Source

File details

Details for the file ftw.calendarwidget-1.2.0.tar.gz.

File metadata

  • Download URL: ftw.calendarwidget-1.2.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.16

File hashes

Hashes for ftw.calendarwidget-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b7ff3c7ea8bbdfc387cffda7d46892f91fe32ae60f947a2581d332263961f34f
MD5 ddd7967c73fe524011cfc576c7fbda0b
BLAKE2b-256 5e2cd6b7124c3f448665fe5ef6e352f76176bf5d104b37a30b606fb8fb374f2d

See more details on using hashes here.

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