Skip to main content

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

Release files for ftw.calendarwidget 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftw.calendarwidget 1.2.0
File Size Uploaded
ftw.calendarwidget-1.2.0.tar.gz 35.0 kB Details

Release files / ftw.calendarwidget-1.2.0.tar.gz

Download URL ftw.calendarwidget-1.2.0.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b7ff3c7ea8bbdfc387cffda7d46892f91fe32ae60f947a2581d332263961f34f
BLAKE2b-256 checksum
How to use checksums
5e2cd6b7124c3f448665fe5ef6e352f76176bf5d104b37a30b606fb8fb374f2d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 release file

1.1.12

1 release file

1.1.11

1 release file

1.1.10

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page