Changes

Jump to navigation Jump to search

Category:Developers

319 bytes added, 08:01, 8 May 2023
no edit summary
For example: this would cause property 1234 to open in the parent window (frame busting) when it's book button is clicked on the multiple property page
<code><script>
$(document).ready(function(){
$('#propid1234 a').attr('target', '_parent');
});
</script></code>
<span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Check the settings under {{#fas:cog}} (SETTINGS) >BOOKING ENGINE > PROPERTY BOOKING PAGE > BEHAVIOUR before you add such a script.
Javascript to change the titletext.
<code><script>document.title='your title';</script></code>
=== Change date format ===
<code><script>
$(document).ready(function(){
$('#inputcheckout').data('date-format','MMMM DD, YYYY');
})
</script></code>
<code><script>
window.onload = function() {
$("[id^='ptdate']").text(function(i, t) {
window.onunload = function(){};
</script></code>
=== Change the first day of the week in the datepicker===
If you want to change multiple languages you would need to include a script for each language.
<code><script>
moment.updateLocale("en", { week: {
dow: 1
}});
</script></code>
== Booking Page Parameters ==
|-
| lang ||en (English), ar (Arabic), bg (Bulgarian), ca (Catalan), hr (Croatian), cs (Czech), da (Danish), de (German), el (Greek), es (Spanish), et (Estonian), fi (Finnish), fr (French), he (Hebrew), hu (Hungarian), hy (Armenian), id (Indonesian - Bahasa Indonesia), is (Icelandic), it (Italian), ja (Japanese), ko (Korean), lt (Lithuanian), lv (Latvian) mn (Mongolian), my (Burmese), nl (Dutch), no (Norwegian), pl (Polish), pt (Portuguese), ro (Romanian), ru (Russian), sk (Slovak), sl (Slovenian), sr (Serbian), sv (Swedish), th (Thai), tr (Turkish), vi (Vietnamese), zh (Chinese simplified), zt (Chinese traditional) || Sets the default language to open the booking page. (2013 new style booking pages only)
|-
|-
| toproom || room always shown on the top of the bookingpage || you can add mulitpel room IDs separated by a comma (resposive booking page only)
 
|-
| voucher || voucher code || Pre populates the discount voucher code
|-
Go to [https://wiki.beds24.com/index.php/Rezintel_Website_Builder Website builder] for more details.
 
== Suppress Google Translate==
Add the following in the "Head" section:
 
<code><meta name=“google” content=“notranslate”>
<html translate=“no”></code>

Navigation menu