
Got a question about restaurantdiary.com™?
FAQs for Developers
How do I link a restaurant web site to your booking system?
restaurantdiary.com™ recommends one of two ways for integrating reservation system to your website:
 |
Popup window launched from your website |
 |
Embedding to the page on your website |
To show reservation pages in a popup window, anywhere before the closing </HEAD> tag insert the code below:
<script language="JavaScript">
<!--
function openWindow(windowname) {
var newWindow = window.open(windowname,"pop","scrollbars=yes,status=yes,
menubar=no,toolbar=no,resizeable=no,width=580,height=620");
}
//-->
</script>
|
Fill free to change width and height to the required values depending on the template selected.
Then all that you need to do is provide a link on a piece of text or a graphic button to the account identified with a 4 digit number. i.e. if the account number is 1234, the link would use the form:
javascript:openWindow('http://www.restaurantdiary.com/ts/find.asp?id_prov=1234')
An example link to one of our accounts is below.
To embed restaurantdiary.com™ to the page on your website simply insert the following HTML code
to the required place on that page:
<iframe src="http://app.restaurantdiary.com/ts/find.asp?id_prov=1234" width="580"
height="620" scrolling="auto" frameborder="no">
Your browser doesn't support IFRAMEs.
</iframe>
As in previous method you can change width and height to required.
How to customise reservation pages template?
restaurantdiary.com™ currently supports two templates for online reservation pages and offers
the facility to customise the logo images, colours, font types and backgrounds. This can be done easily
by changing CSS file that we provide. Once you have customised the styles, you should email changed CSS file and
all other required files to tech@restaurantdiary.com.
We will upload them to the server and apply to the demo account to let you test and view before applying
to your live account.
|