Remote Access of the calendar

Remote Access of the calendar of a given property


Previous to Jomres 2.7 remote availability was achieved by installing the remote availability plugin, but that is now part of the core so now all you need to do is set up an iframe on the remote server. Below is an example of the frame that you might want to include:

<iframe scrolling=no FRAMEBORDER=0 MARGINWIDTH=10 MARGINHEIGHT=10  src ="http://URL_OF_THE_SERVER_THAT_JOMRES_IS_ON/index.php?option=com_jomres&tmpl=component&task=remoteavailability&popup=1&id=1" width="540px" height="540px"> </iframe>

Don't forget to set id to the property uid of the property you want availability information on, and of course set the url to that of your Jomres server.


Add the arguement sl=0 to switch off links to the booking form.
Add the arguement tar=0 to disable the blank target. Depending on how the remote availability calendar is called, sometimes clicking on a date in the calendar opens a new window to the Jomres server's booking form, and this option will disable that.

It is important to remember that modern browsers security features exclude the ability to perform what's known as cross-domain ajax, for more information please see here. What this means is that if you've used the tar=0 option mentioned above and taken the guest to the booking form, unless you've performed some javascript magic of your own, the booking form will not work for them. We will leave the option in as it might be required by people who're running both the iframe and Jomres on the same domain, however you should be aware of this limitation.

As of v6.3 you can also call a jquery calendar using the jquery_calendar_asamodule plugin. It does not use the arguments listed above, but it is an alternative if you don't like the remoteavailability calendar.