Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The argument $monthstodisplay in function hotel_calendars_node() does not influence the result and and all 12 months are shown, not $monthstodisplay months.
Comments
Comment #1
willvincent CreditAttribution: willvincent commented12 months will always be displayed for a user who has access to edit availability, so that they are able to do so.
Users without that access will be displayed the number of months entered in the config settings.