Joomla 3.7 is getting a new datepicker
- by Editorial Staff
- on Joomla News
Joomla! has been having a datepicker for ages as an input field and it helped you navigate in a calendar month by month. A classic datepicker in a few words. So what's about to change?
Joomla! 3.7 brings a replacement datepicker to the old one which was quite hard to maintain and it had limited personalization options. The new datepicker provides an incredible parameterization list! Just take a look below!
- Selection of year and month, grouped on 1 single line or separated on 2 independent lines (singleheader parameter)
- Precision of the limits of the years min and max (parameters minyear and maxyear)
- Display or not of the week numbers (parameter weeknumbers)
- Activation of the selection of hours and minutes (showtime parameter)
- Format of the hours on 12h (AM / PM) or 24h (timeformat parameter)
- Gray but selectable display of the days of the previous and following months (in the grid of the current month) (filltable parameter)
- Display the Today button to select today's date (todaybutton parameter)
All of these new possibilities have been already added to the official documentation wiki about the Calendar Field with several examples.