Changes

Jump to navigation Jump to search

Category:Widgets

105 bytes removed, 09:19, 15 May 2020
no edit summary
[[Category:Booking_Page]]
[[Category:Troubleshooting]]
<div class="heading">Booking Widgets</div> ''This page is about the menu {{#fas:cog}} (SETTINGS -> ) BOOKING ENGINE->BOOKING WIDGETS''
__TOC__
The datepicker in the widgets will display up to one year in advance.
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} Note: </span> If you want to display multiple widgets on one page make sure you to remove the first part of the code for the second widget. Paste the code for the second widget in from this line: <nowiki><!-- Place this div on your page where you want the widget to show --></nowiki>
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} Note: </span> The widgets require your page to have UTF-8 language encoding.
=== If you do not have JQuery ===
If you do not have jQuery and jQueryUI installed on your web page add the following to the <head> section of your page.
<code> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script></code>
The widget will attempt to self load jqueryUI, if this is not working properly or causing conflicts you can add it to your page after the jquery script.
<code><link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script></code>
If you want to optimize the loading sizes, it should be enough just to load the JQueryUI datepicker modules.
The widget can be forced to not attempt to load it's own JQueryUI by setting the following parameter.
<code> loadJQueryUI: false,</code>
== Wordpress ==
5. Paste the amended widget code into the HTML of your web site.
== Other widgets Embedded Iframe ==
*Code to embed your booking page as an Iframe into your web site can be generated under SETTINGS -> BOOKING PAGE->BOOKING WIDGETS->EMBEDDED IFRAME
*A link to your booking page can be generated under SETTINGS -> BOOKING PAGE->BOOKING WIDGETS->LINKS
*Code for an enquiry form generated under SETTINGS -> BOOKING PAGE->BOOKING WIDGETS->ENQUIRY FORM
 
Previous versions of the widgets are not supported any longer. If you want to use old versions you can access the menu pages via these links:
*[https://beds24.com/control2.php?pagetype=widgetcalendar Availability Calendar]
*[https://beds24.com/control2.php?pagetype=widgetstrip Booking Strip]
*[https://beds24.com/control2.php?pagetype=widgetbox Booking Box]
== Troubleshooting ==
You are defining these parameters in the URL in the embedded Iframe. Remove these parameters from the Iframe URL: &numnight=2&numadult=2&advancedays=2
'''Problem installing widgets on Wix'''
Other than almost all other web sites Wix does not support JQuery. You will need to check with Wix if they allow you to add JQuery to your page. If Wix will not allow you to add JQuery you can use a button, links or our legacy widgets. The legacy widgets are available via SETTINGS-BOOKING PAGE-WIDGETS-BOOKING BUTTON.

Navigation menu