New to the forum and this amazing script.
I'm currently working on a redesign for a Lanzarote apartment rental website, http://www.lascoronas10.co.uk, and am integrating the availability calendar. I have currently set it up to test but am having trouble displaying more than 12 months.
The display of a rolling 12 months is great, but I would like to be able to display the months to the end of this current year and all 12 months of the following year. Is this possible?
I know I need to change the code:
- Code: Select all
// define number months to show
if(isset($_REQUEST["months_to_show"])) define("MONTHS_TO_SHOW", $_REQUEST["months_to_show"]);
else define("MONTHS_TO_SHOW", 12);
Changing the 12 to an 18 for example doesn't work, can I achieve what I am looking to do?