Information for your web developer:
To put two calendar widgets on one page the code needs to be modified slightly.
The first widget code stays the same, but the second needs an additional parameter "c=1" to tell the code that the widget should be placed within the div "supercontrol-availability-".
Then add the cottageID within this div to identify which cottage this applies to.
Your web developer should use the code below to include the widget for both properties on your page. Ensure you add your correct siteID (XXX), ownerID (XX) and cottageID (XXXX) to the code.
<script type="text/javascript" src="//secure.supercontrol.co.uk/avail_ajax/js/load.js?ownerID=XX&siteID=XXX&cottageID=XXXX"></script>
<div id="supercontrol-availability"></div>
<br/>
<script type="text/javascript" src="//secure.supercontrol.co.uk/avail_ajax/js/load.js?ownerID=XX&siteID=XXX&cottageID=XXXX&c=1"> </script>
<div id="supercontrol-availability-XXXX"></div>
Please note:
You must have created your calendar already before you can add the translation feature to the booking cart.
The currently supported languages are as follows:
- English
- French
- German
- Polish
- Go to Admin> Website integration > Widget code.
- Choose your calendar from the drop-down menu.
The page will expand open with the full details of your calendar.
- Scroll down the page until you see the option Show translation for calendar widget.
- Tick the box to add this feature to your calendar widget.
It will allow your visitors to select, which language should be used in the calendar
- From the drop-down menu behind Select default language choose the default language for the calendar.
Your widget code will be automatically include all selected option.
- Either opy the snippet code from the Generate snippet box and forward it to your web developer. Or use the buttons Copy code to clipboard or Send code in email to forward the code.
At the top right hand of your calendar you will now see flag icons.
The visiting guest can click on the icon with one click to translate the language of the calendar and the book now pop-up.
The calendars are designed so they will embed on your web page without the need for an iframe, and so in most cases are not needed. Some web platforms do still require them however. If they are used, ensure the dimensions are set carefully to ensure the calendars display correctly.
The Website calendars are embedded on your website pages rather than our own, so to add important text next to your calendar to alert guests simply add it to the same page on your website that your calendar is embedded in.




