Developers: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
[[Category:Booking Page]]
[[Category:Booking Page]]
[[Category:How to]]
[[Category:How to]]
Go to SETTINGS -> BOOKING WIDGETS -> WEB DESIGNERS
''This page is about the menu SETTINGS -> BOOKING WIDGETS -> WEB DESIGNERS''




Code snippets for the booking page and booking widgets are available in SETTINGS->BOOKING WIDGETS.
Code snippets for the booking page and booking widgets are available in SETTINGS->BOOKING WIDGETS.


'''Customise Booking Widgets'''
'''Customise Booking Widgets'''


You can use HTML and CSS to create custom solutions.  
You can use HTML and CSS to create custom solutions.  
Line 15: Line 15:
'''Customise Booking Page'''
'''Customise Booking Page'''


The booking page can be embedded in a page using an iframe or opened with a link or form.
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 PAGE. This page [[Customise_Booking_Page|Customise Booking Page]] give on overview. Additional options for developers ar:


*Custom CSS can be added in SETTINGS->BOOKING PAGE ADVANCED "Custom CSS"
*Custom CSS can be added in SETTINGS->BOOKING PAGE ADVANCED "Custom CSS"
* Javascript can be entered in SETTINGS->BOOKING PAGE ADVANCED "Advanced HTML Settings"
* Javascript can be entered in SETTINGS->BOOKING PAGE ADVANCED "Advanced HTML Settings"


The behavior of the booking page can be controlled with the following parameters passed in the URL or form.
*The behavior of the booking page can be controlled with the following parameters passed in the URL or form. URL Parameters are always added in the format name=value. To separate them, the first parameter must have a ? before it and all following parameters must have an & before them. For example if you want to change the default for the numbers of night selector to 7 nights you change the link to your booking page from  
 
URL Parameters are always added in the format name=value.
To separate them, the first parameter must have a ? before it and all following parameters must have an & before them.
 
For example if you want to change the default for the numbers of night selector to 7 nights you change the link to your booking page from  


https://www.beds24.com/booking2.php?propid=2047
https://www.beds24.com/booking2.php?propid=2047