Category:Widgets: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Tag: Undo |
||
| Line 24: | Line 24: | ||
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> The availability calendar widget only processes data one year in advance. For more future dates the dates show available but are not bookable. | <span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> The availability calendar widget only processes data one year in advance. For more future dates the dates show available but are not bookable. | ||
== If | == 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. | If you do not have jQuery and jQueryUI installed on your web page add the following to the <head> section of your page. | ||
| Line 30: | Line 30: | ||
<code> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script></code> | <code> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script></code> | ||
If you are required to be GDPR complaint you may need to download and self host this library, if so download to your server and change the src link accordingly. | |||
== If the datepicker is not working or you do not have JQueryUI == | |||
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><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script></code> | |||
<code><link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"></code> | |||
<code> <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. | The widget can be forced to not attempt to load it's own JQueryUI by setting the following parameter. | ||