Bug: Add-on module Booking online, creation of french pages
Posted: Thu Dec 11, 2014 8:12 pm
Hi Marco,
I'm using Hoteldruid 2.1.1 with the add-on module "Booking Engine", the issue is with this plugin. No problem to create the pages in english (Instant Booking Page and Confirm Reservation Page) but when I try to create the french pages, the php files are almost empty. The head of the files are OK but after the first part of code, just one annotation: WRONG URL. I use the same head of file for the english pages without problem. If I try this head in italian or spain pages, everything is ok. It's juts in the french part.
Copy of my Instant Booking Page (fr_instant_booking_tpl.php):
===================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title> </title>
<style type="text/css">
div.bar_av {font-size:80%; font-weight: normal; text-align: center; background-color: #dddddd;}
table.types_list { border-collapse: collapse; }
table.types_list td { border: 1px solid black; padding: 6px; }
table.types_list td td { border: none; padding: 0; }
tr.types_list_head td { font-size: x-small; padding: 2px 6px 2px 6px; }
div.avail_types { padding: 6px; }
div.typedescr { max-width: 600px; padding: 4px 2px 4px 12px; }
div.typephoto { float: right; }
div.typephoto img { float: right; max-width: 90px; max-height: 90px; border: 0px none ; text-decoration: none; }
.sp_book_butt { height: 6px }
.cctype { float: left; }
.ccnum { clear: left; }
.cclogo { display: block; float: left; width: 40px; height: 28px; padding: 1px; }
.ccvisa { background: url("https://www.digitaldruid.net/hosted/img/cc_visa.png") no-repeat left center; }
.ccmastercard { background: url("https://www.digitaldruid.net/hosted/img ... ercard.png") no-repeat left center; }
.ccamericanexpress { background: url("https://www.digitaldruid.net/hosted/img ... xpress.png") no-repeat left center; }
.ccdinersclub { background: url("https://www.digitaldruid.net/hosted/img ... rsclub.png") no-repeat left center; }
.ccdiscover { background: url("https://www.digitaldruid.net/hosted/img/cc_discover.png") no-repeat left center; }
.ccjcb { background: url("https://www.digitaldruid.net/hosted/img/cc_jcb.png") no-repeat left center; }
#ccv_info { font-size: 60% }
a { color: #000000; }
.t_book { border-radius: 8px; }
.t_book td { border-radius: 8px; }
.extra_costs { margin-top: 5px }
div.agreem { max-width: 600px; border: 1px solid black; padding: 3px; }
select { background-color: #ffffff; }
</style>
</head>
<body background="https://www.malpeque.ca/images/background_wp.jpg" style="color: #ffffff; padding: 0; margin: 0;">
<div style="width: 100%; padding: 10px 0 0px 0px; margin: 0; border-bottom: 2px solid #000000; color:white; font-size:30px; text-align: center; background-color: #1c2123;">
<img src="https://www.malpeque.ca/images/leaf-logo.png" border="0" width="73" height="30">Malpeque Cove Cottages
<img src="https://www.malpeque.ca/images/leaf-logo.png" border="0" width="73" height="30"></div>
<div style="text-align: center; padding: 10px; color:grey;"><big><big>
Online Booking<br>
</big>
Minimum 19 ans pour l'enregistrement
</big><br><br>
<table style="margin-left: auto; margin-right: auto; background-color: #23292a; border-radius: 14px;" border=1 cellspacing=0 cellpadding=16>
<tr><td style=" border-radius: 14px;">
<table style="text-align: left; margin-left: 0;" border=0 cellspacing=0 cellpadding=0><tr><td>
<!-- END OF THE FIRST PART OF CUSTOM HTML -->
Wrong URL.<br>
===================
Anyone have a solution?
Thanks'
Olivier Joncourt
I'm using Hoteldruid 2.1.1 with the add-on module "Booking Engine", the issue is with this plugin. No problem to create the pages in english (Instant Booking Page and Confirm Reservation Page) but when I try to create the french pages, the php files are almost empty. The head of the files are OK but after the first part of code, just one annotation: WRONG URL. I use the same head of file for the english pages without problem. If I try this head in italian or spain pages, everything is ok. It's juts in the french part.
Copy of my Instant Booking Page (fr_instant_booking_tpl.php):
===================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title> </title>
<style type="text/css">
div.bar_av {font-size:80%; font-weight: normal; text-align: center; background-color: #dddddd;}
table.types_list { border-collapse: collapse; }
table.types_list td { border: 1px solid black; padding: 6px; }
table.types_list td td { border: none; padding: 0; }
tr.types_list_head td { font-size: x-small; padding: 2px 6px 2px 6px; }
div.avail_types { padding: 6px; }
div.typedescr { max-width: 600px; padding: 4px 2px 4px 12px; }
div.typephoto { float: right; }
div.typephoto img { float: right; max-width: 90px; max-height: 90px; border: 0px none ; text-decoration: none; }
.sp_book_butt { height: 6px }
.cctype { float: left; }
.ccnum { clear: left; }
.cclogo { display: block; float: left; width: 40px; height: 28px; padding: 1px; }
.ccvisa { background: url("https://www.digitaldruid.net/hosted/img/cc_visa.png") no-repeat left center; }
.ccmastercard { background: url("https://www.digitaldruid.net/hosted/img ... ercard.png") no-repeat left center; }
.ccamericanexpress { background: url("https://www.digitaldruid.net/hosted/img ... xpress.png") no-repeat left center; }
.ccdinersclub { background: url("https://www.digitaldruid.net/hosted/img ... rsclub.png") no-repeat left center; }
.ccdiscover { background: url("https://www.digitaldruid.net/hosted/img/cc_discover.png") no-repeat left center; }
.ccjcb { background: url("https://www.digitaldruid.net/hosted/img/cc_jcb.png") no-repeat left center; }
#ccv_info { font-size: 60% }
a { color: #000000; }
.t_book { border-radius: 8px; }
.t_book td { border-radius: 8px; }
.extra_costs { margin-top: 5px }
div.agreem { max-width: 600px; border: 1px solid black; padding: 3px; }
select { background-color: #ffffff; }
</style>
</head>
<body background="https://www.malpeque.ca/images/background_wp.jpg" style="color: #ffffff; padding: 0; margin: 0;">
<div style="width: 100%; padding: 10px 0 0px 0px; margin: 0; border-bottom: 2px solid #000000; color:white; font-size:30px; text-align: center; background-color: #1c2123;">
<img src="https://www.malpeque.ca/images/leaf-logo.png" border="0" width="73" height="30">Malpeque Cove Cottages
<img src="https://www.malpeque.ca/images/leaf-logo.png" border="0" width="73" height="30"></div>
<div style="text-align: center; padding: 10px; color:grey;"><big><big>
Online Booking<br>
</big>
Minimum 19 ans pour l'enregistrement
</big><br><br>
<table style="margin-left: auto; margin-right: auto; background-color: #23292a; border-radius: 14px;" border=1 cellspacing=0 cellpadding=16>
<tr><td style=" border-radius: 14px;">
<table style="text-align: left; margin-left: 0;" border=0 cellspacing=0 cellpadding=0><tr><td>
<!-- END OF THE FIRST PART OF CUSTOM HTML -->
Wrong URL.<br>
===================
Anyone have a solution?
Thanks'
Olivier Joncourt