[[Category:How to]]
[[Category:Developers]]
__TOC__
''This page explains how to create your own booking widget''
'''Requires:''' Basic understanding of HTML
Modify to suit and paste the samples into your web page.
== Create a Widget ==
'''Create a Form'''
[[Image:Custom-Widget5.png|600px|link=]]
[[Media:Custom-Widget5.png|view large]]
== Create a booking form for a preselected room and dates ==
Create a URL like this:
https://www.beds24.com/booking2.php?propid=13434&checkin_hide=2016-11-24&numnight=2&numadult=1&br1-32906=Book
You need to define:
1) propid
2) one of checkin or checkin_hide (different date formats)
3) one of checkout, checkout_hide or numnight
4) numadult and/or numchild
5) br1-32906=Book where "br1 is offer 1, br2 is offer 2 etc. and 32906 is the room to book.