Changes

Jump to navigation Jump to search

Category:Developers

717 bytes added, 13:03, 25 October 2022
<script>document.title='your title';</script>
=== Change date format to American ===
Javascript to change the date format.
window.onunload = function(){};
</script>
 
=== Change the first day of the week in the datepicker===
The start day of the week in the checkin and checkout selectors is set automatically based on the language selected by the guest, different languages have different standards for this.
It is possible to override it on a per language basis.
 
This example changes English to start on Monday, The value of dow can be from 0 to 6 where 0 is Sunday.
If you want to change multiple languages you would need to include a script for each language.
 
<script>
moment.updateLocale("en", { week: {
dow: 1
}});
</script>
To use the API you need to allow API access. Go to This page is about the menu {{#fas:cog}} (SETTINGS) > ACCOUNT -> ACCOUNT ACCESS and allow API access. The API is available at https://api.beds24.com. The XML functions can be accessed with your Beds24 username and password. The JSON functions can be created with a API and prop key which you set yourself in the Beds24 control panel This page is about the menu {{#fas:cog}} (SETTINGS) > ACCOUNT and This page is about the menu {{#fas:cog}} (SETTINGS) > PROPERTIES > ACCESS
 
 
==Skip to Checkout Page from Beds24 Plugin Widget==
 
Check the following instructions: https://gist.github.com/koryrichardson/55a460ce298ea1879c041e90d1e1e527
== Create a website with the content in your Beds24 account ==

Navigation menu