contao-module bootstrap-datepicker
Contao form field with bootstrap datepicker
taleteller/bootstrap-datepicker
Contao form field with bootstrap datepicker
- Wednesday, March 22, 2017
- by Taleteller
- Repository
- 1 Watchers
- 1 Stars
- 23 Installations
- CSS
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
This project utilizes the bootstrap-datepicker project for use with the contao bootstrap framework. The datepicker is provided as form widget, available in the contao form editor. It can act as replacement for the legacy calendarfield, which does not render correctly with the bootstrap framework., (*1)
Requirements
- Contao 3.3.0+ (Not tested below that version)
- contao-bootstrap/bundle 1.0-rc1+
- Bootstrap 3.3 or higher with jQuery
Installation
ToDo, (*2)
Features
- Matches with bootstrap form styles
- Calendar popup when entering edit field
- Compatible with all modern Browsers
- Date validation in frontend and backend
- Allows limitation of selectable dates
- Automatically matches calendar language with frontend
- Also matches date format with the backend date format
- Error messages localized in English, German and French.
Not (yet) Implemented
- Multidate selection
- Range selection
Known limitations
This widget assumes your contao website uses valid ISO 639-1 (de,en,fr ...) codes for language configuration, otherwise it will fail to guess what language your site is using and falls back to english., (*3)
This widget also assumes a not too 'exotic' configuration for displaying date like d.m.Y, m/d/Y or Y-m-d to determine the input format for the calendar., (*4)
Changelog
03/27/2017, (*5)
- Added a second widget for date range selection, since the new component supports them now
- Further improvements of code
03/22/2017, (*6)
- Updated datepicker component from version 1.4 to version 1.7
- Added missing .htaccess to assets, because Contao disallows access beyond /system per default now
- Use of minified bootstap-datepicker.min.js
- Improved the initialization of widget a little
dev-master
9999999-dev
http://holzeisen.de
Contao form field with bootstrap datepicker
Sources
Download
LGPL-3.0+
The Requires
by
Thomas Holzeisen
bootstrap
calendar
datepicker
contao