Occupancy calendar

Discuss everything related to PHP Hotel Site. All versions. Any questions related to the PHP Hotel Site developing or using should be posted to this forum.

Moderator: alexandrleonenko

Posts: 1
Joined: Nov 29th, '18, 12:13

Occupancy calendar

Postby CostasL » Nov 29th, '18, 16:53

Hi all,

in my site, when someone clicks on Availability tab, the occupancy calendar displays like this:
3.jpg (161.04 KiB) Viewed 218 times

The problem is that a customer cannot see even the Year in this calendar.
I would like to:
1) Show the months starting from the current one and up to next 11
2) Show the year next to the month's name

In rooms_description.content.php under Availability Tab, the function DrawOccupancyCalendar (echo Rooms::DrawOccupancyCalendar($room_id, false); ) is called.
But when trying to modify the function, nothing is changed.
I tried to modify Rooms.class.php and Calendar.class.php without luck!

Could you please tell me what I have to change so as to have the desired calendar view?

Thanks in advance!

Site Admin
Site Admin
Posts: 6020
Joined: Jan 7th, '09, 23:18

Re: Occupancy calendar

Postby administrator » Nov 30th, '18, 07:37

You have to customise current calendar module modules/calendar/ or create your own.

Return to “ApPHP HotelSite / uHotelBooking Talk {developers/users}”