Changes

Jump to navigation Jump to search

Category:Developers

320 bytes added, 13:28, 15 May 2020
no edit summary
[[Category:Widgets]]
[[Category:Booking Page]]
''This page is about the menu {{#fas:cog}} (SETTINGS -) > BOOKING ENGINE -> DEVELOPERS''
 The booking page can be embedded in a page using an iframe Iframe or opened with a link or form. It can be fully customised in This page is about the menu {{#fas:cog}} (SETTINGS-) >BOOKING ENGINE. This [[Customise_Booking_Page|page]] gives an overview. Additional options for developers are:
== Custom Text ==
Any fixed text on the booking page can be exchanged in This page is about the menu {{#fas:cog}} (SETTINGS ) > BOOKING ENGINE > DEVELOPER > "Custom Text"
For more information please read the context help (?).
== Custom CSS ==
<span class="" style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Custom CSS can be added in This page is about the menu {{#fas:cog}} (SETTINGS ) > BOOKING ENGINE > DEVELOPERS > "Custom CSS"
To see a list of CSS examples look into this document: [[Custom_CSS|Custom CSS]]
It is possible to make the booking page use a CSS file that you supply, you must host the CSS file on a secure web server (using https:).
To do this you need to add the &cssfile parameter to the URL for the booking page, or for example the iframe Iframe SRC.
You could do this to use different styling per page or site.
== Javascript ==
Javascript can be entered in This page is about the menu {{#fas:cog}} (SETTINGS )> BOOKING ENGINE > DEVELOPERS > "Advanced HTML Settings"
=== Change the title text ===
|-
| width || page width in px || Useful for embedding the booking page in an iframe Iframe of fixed size
|-
|-
| redirect ||encoded url || Redirect to this url, must start with http:// or https:// and be url encoded with a tool like http://meyerweb.com/eric/tools/dencoder/. The booking details are stored in session variables and will be available available to a booking page in an iFrame Iframe at your redirect URL as long as the iFrame Iframe is not overriding them in it's src url.
|}
The documentation is directly in the API.
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->LINKACCESS

Navigation menu