Remote Access of the calendar

From Jomres v4 manual

Jump to: navigation, search

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/index2.php?option=com_jomres&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.

If you find that when you set up the iframe on a remote server you're seeing all of the modules, not just the calendar, ensure that you've set /index2.php, not index.php as index2.php doesn't include modules, headers etc.

New for v4.1.1:

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.

Personal tools