Category:Developers: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
[[Category:Widgets]]
[[Category:Widgets]]
[[Category:Booking Page]]
[[Category:Booking Page]]
  ''This page is about the menu SETTINGS -> BOOKING ENGINE  -> DEVELOPERS''
  This page is about the menu {{#fas:cog}} (SETTINGS) > BOOKING ENGINE  > DEVELOPERS


 
The booking page can be embedded in a page using an 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:
The booking page can be embedded in a page using an iframe or opened with a link or form.  It  can be fully customised in SETTINGS->BOOKING ENGINE. This  [[Customise_Booking_Page|page]] gives an overview. Additional options for developers are:


== Custom Text ==
== Custom Text ==
Any fixed text on the booking page can be exchanged in SETTINGS > BOOKING ENGINE > DEVELOPER > "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 (?).
For more information please read the context help (?).
Line 16: Line 15:
== Custom CSS ==
== Custom CSS ==


<span class="" style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span>  Custom CSS can be added in SETTINGS > BOOKING ENGINE > DEVELOPERS > "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]]
To see a list of CSS examples look into this document: [[Custom_CSS|Custom CSS]]
Line 23: Line 22:
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:).
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 SRC.
To do this you need to add the &cssfile parameter to the URL for the booking page, or for example the Iframe SRC.


You could do this to use different styling per page or site.
You could do this to use different styling per page or site.
Line 44: Line 43:


== Javascript ==
== Javascript ==
Javascript can be entered in SETTINGS > BOOKING ENGINE > DEVELOPERS > "Advanced HTML Settings"
Javascript can be entered in This page is about the menu {{#fas:cog}} (SETTINGS)> BOOKING ENGINE > DEVELOPERS > "Advanced HTML Settings"


=== Change the title text ===
=== Change the title text ===
Line 173: Line 172:


|-
|-
| width || page width in px  || Useful for embedding the booking page in an iframe of fixed size  
| width || page width in px  || Useful for embedding the booking page in an Iframe of fixed size  


|-
|-
Line 230: Line 229:


|-
|-
| 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 at your redirect URL as long as the iFrame is not overriding them in it's src url.
| 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 at your redirect URL as long as the Iframe is not overriding them in it's src url.


|}
|}
Line 262: Line 261:
The documentation is directly in the API.  
The documentation is directly in the API.  


To use the API you need to allow API access. Go to 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 SETTINGS->ACCOUNT and SETTINGS->PROPERTIES->LINK
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