Elxis CMS Forum

Extensions => Components => Topic started by: e-isodos on January 29, 2011, 05:16:04

Title: IOS RESERATIONS - Availability Calendar
Post by: e-isodos on January 29, 2011, 05:16:04
Is there a way when someone selects to see the availability calendar, this will open for the selected period the customer is willing to arrive?
Or if this is hard to do, for the first month that the hotel is open (Greece islands April)?
EXAMPLE
Someone is searching for a room in September. When he opens the availbility calandar this will show the availabiliity for January (Hotel is closed) so he has to press 8 times the arrow to find the availability for September.
Title: Re: IOS RESERATIONS - Availability Calendar
Post by: datahell on January 29, 2011, 21:24:09
Here is a hint.

The URL of the availability calendar is composed like this:

index2.php?option=com_reservations&task=calendar&rid={RID}&Itemid={ID}&ym={YYYYMM}

Where YYYYMM the year and month of the month to show.
By default it open without this information and displays the current month.
To make it open for an other month just add in link the ym parameter.

Example
Open availability calendar for June 2011:
index2.php?option=com_reservations&task=calendar&rid={RID}&Itemid={ID}&ym=201106