Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
73.45 KB
MD5: 55687d6feb509eee0c2cadb9a8ee5bff
SHA-1: 4edd360828aa17c6808c4b3510bf755c172bb6b5
SHA-256: 40922b0ce6a5e5f086f3c3e1fca0ce17907d72e3005114b91aba75e79412914a
Download zip
88.33 KB
MD5: 6b72d3d47d0d7501676ddfd6763692ea
SHA-1: 2b5a9958cc6606bb9be108127a69465e8567ce03
SHA-256: 6a20776bd13d99df5c5133d532cc10335580a6e074f95a30172336f868b4ffe9
Release notes
Incompatibilities with 7.x-3.x
These are actions and checks you have to perform manually after you have upgraded to this version.
- Clear all caches.
- Date formats are now customisable: customise (admin/config/regional/date-time
and admin/config/regional/date-time/locale) them to your likings and check all
your date handling and displaying parts to see whether they are still working
as expected. - Visit and save the "field settings" and "manage display" pages for all
calendar fields and define whether they are day or overnight based. - Visit and save the "field settings" and "manage display" pages for all booking
formlet fields and check whether the new settings are better suited to your
use case. - Styling: visit admin/config/content/availability-calendar/styling to
regenerate the CSS file. - Theming: check if all your custom styling still applies correctly. E.g., the
buttons for the booking formlet are changed into s; classes and other
attributes have changed for several elements. - Periods: the 2nd date of a period is either inclusive (day rental) or not
inclusive (overnight rental, typically the "departure" date). In 7.x-3.x, the
2nd date was always not inclusive. Test and check that every part is still
working as expected. - Booking formlet to webform POST: the arrival and departure fields are renamed
to from_display and to_display. You have to update the default values for the
elements that receive these values in the (or all in a multilingual site)
webform. I.e: change "%post[arrival]" to "%post[from_display]" and change
"%post[departure]" to "%post[to_display]". - Booking formlet to webform POST: there are additional fields that now get
posted: %post[from_iso] and %post[to_iso]. See the readme (of booking formlet)
for an explanation of these values and their differences with from_display and
to_display. - API and JavaScript changes. Almost all API and JavaScript functions have been
changed. Sometimes just slightly, sometimes they are completely rewritten or
even replaced. If you have done custom coding: test it all. API changes are
not separately described, they are part of the items in the change log below
that is grouped by issue (feature/bug) not by API function.
Changes since 7.x-3.2
- Incorrect error message "only future ..." on searching today's availability.
- Views: Do not show the filter on availability as a displayable field.
- #1813074: Calendar and Booking formlet fields have problems when used in a view that displays separate fields
- #1814634: Notice: Undefined index: selectable in availability_calendar_add_full_calendar_js()
- #1799826: fatal error in availability_calendar_get_calendar()
- Error: IE8-hack: IE8 and lower do not support the indexOf method on arrays.
- Error: Translated <none> on styling form is written to generated css file.
- #1679524: Adaptive viewport
- #1360702: Allow invalid "default values" for exposed fields in availability search
- #1714504: Disabled links don't look disabled
- #1676612: Viewport fails when same calendar is displayed twice on the page
- #1678190: Double date with date popup
- #1661454: Better distinction between whole day and overnight rental
- #1413130: Using date in other formats
- #1447228: Availability calendar fails when #id of the submit button is altered. (by Marc-Antoine).
- #1447228: Availability calendar fails when #id of the submit button is altered. (by Marc-Antoine).
- #1653150: Allow booking formlet to be shown independent of calendar
- #1637372: Incompatibility with "Availability Calendars" module
- #1410852: settings.availabilityCalendar.states is not defined in attach behavior on Ajax refresh
- Follow up of #1508066: Viewport keeps scrolling: Refactor javascript to use the same initialization
pattern for viewport, editor and booking formlet, that can handle multiple
instances and ajax refreshes (including execution of attachBehavior). - #1520936: Calendar display not supporting RTL languages
- Error, caught while solving #1520936: Calendar display not supporting RTL languages: incorrect change of width and height
usage in CSS style generation. - Error: Default set of Allowed states not correct.
- #1569334: Message: An illegal choice has been detected. Please contact the site administrator.
- #1508066: Viewport keeps scrolling
- JS refactoring.
- #1458118: Remove LICENSE.txt from Git repository