Page 1 of 1

Bug: Add-on module Booking online, creation of french pages

Posted: Thu Dec 11, 2014 8:12 pm
by olivierjoncourt
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

Re: Bug: Add-on module Booking online, creation of french pa

Posted: Fri Dec 12, 2014 8:18 pm
by marco
Hello Oliver,
from the page where the module is purchased:

"...the default HotelDruid file names for the pages will be used, and you won't be able to modify it afterwards. So the pages created with this module must be used from a single position and with a maximum of 3 languages, being the default ones English, Spanish and Italian. But all the page phrases can be translated when creating it, so any of the 3 languages can be translated to another one."

On the hosting a different page for each available language module can be created (see available languages in the "other languages" page on this site).

Regards,
Marco

Re: Bug: Add-on module Booking online, creation of french pa

Posted: Sat Dec 13, 2014 12:53 am
by olivierjoncourt
Thanks Marco,

I builded and translated the french pages without issus except for the calendar. Months and Days are in another language (english or italian depend the base).
Do you have a solution to fix this part?

Regards,

Olivier

Re: Bug: Add-on module Booking online, creation of french pa

Posted: Thu Dec 03, 2015 3:09 pm
by marco
Hello Olivier,
for example if you're using spanish to translate to French then you can change days and moths in dates names in the file includes/lang/es/giorni_mesi.php

Regards,
Marco