Landing Page: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:How to]]
[[Category:How to]]
[[Category:Booking_Page]]
[[Category:Booking_Page]]
[[Category:Booking_Engine]]
Required skills: php, html, css
''This page explains to how to create a custom landing page''
You can specify a landing page after a booking is made at SETTINGS-> BOOKING ENGINE -> BOOKING PAGE->BEHAVIOUR "Booking Return URL
The guest will be redirected to your page after they book.
We will include information about the booking as parameters added to your Url


If you have entered a Booking Return Url we will redirect the guest to your site after they book.
Using PHP or other scripting languages it is possible to process the parameters and display personalised information to the guest.
We will include information about the booking as parameters added to your Url
The following PHP test script will display the raw data.


Using PHP or other scripting languages it is possible to process and display personalised information to the guest.
Use this as a starting point to create your own design.  
The following PHP test script will show the supplied data.


  <?php
  <nowiki><?php
  echo "<br>bookid=".$_GET["bookid"];
  echo "<br>bookid=".$_GET["bookid"];
  echo "<br>propid=".$_GET["propid"];
  echo "<br>propid=".$_GET["propid"];
Line 35: Line 40:
  echo "<br>guestcomments=".urldecode($_GET["guestcomments"]);
  echo "<br>guestcomments=".urldecode($_GET["guestcomments"]);
  echo "<br>ratedesc=".urldecode($_GET["ratedesc"]);
  echo "<br>ratedesc=".urldecode($_GET["ratedesc"]);
  ?>
  ?></nowiki>