x-soho template and Integration

Discuss everything related to PHP Hotel Site. All versions. Any questions related to the PHP Hotel Site developing or using should be posted to this forum.

Moderators: ne_moj, zewa

akis
Expert
Expert
Posts: 58
Joined: Feb 20th, '13, 20:33

x-soho template and Integration

Postby akis » Feb 28th, '17, 19:22

Hello,
x-soho template dose not corporate with integration module.
When I choose dates on integration module and click check availability redirect me to check availability page but on module at the left side the dates are not changed so I get this: You cannot perform reservation in the past! Please re-enter dates. How can I fix it? HoteSite version 443
index.php.jpg
index.php.jpg (115.96 KiB) Viewed 954 times

index.php.jpg
index.php.jpg (115.96 KiB) Viewed 954 times
Attachments
vergina2016.jpg
vergina2016.jpg (36.68 KiB) Viewed 958 times

administrator
Site Admin
Site Admin
Posts: 5922
Joined: Jan 7th, '09, 23:18
Contact:

Re: x-soho template and Integration

Postby administrator » Feb 28th, '17, 19:31

Can you please share share here link to yuor site, so we could check this issue online?

akis
Expert
Expert
Posts: 58
Joined: Feb 20th, '13, 20:33

Re: x-soho template and Integration

Postby akis » Mar 1st, '17, 22:07


ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: x-soho template and Integration

Postby ne_moj » Mar 2nd, '17, 13:36

Hello akis

Replace file widget/ipanel-left/index.php to the file that I attached to this letter. Do not forget to make a backup copy of the widget/ipanel-left/index.php file if you are not satisfied with the result.
Also in the widget/ipanel-left/main.js file, replace the line
myIframe.width = 215;
On:
myIframe.width = 280;
And update the cache.
Attachments
ipanel-left.zip
widget/ipanel-left/index.php and widget/ipanel-left/main.js files
(2.65 KiB) Downloaded 44 times

akis
Expert
Expert
Posts: 58
Joined: Feb 20th, '13, 20:33

Re: x-soho template and Integration

Postby akis » Mar 2nd, '17, 15:04

sample-page.jpg
sample-page.jpg (61.82 KiB) Viewed 934 times

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: x-soho template and Integration

Postby ne_moj » Mar 2nd, '17, 17:51

Hello

You could provide a apache log with errors and backup widget/ipanel-left/index.php file.
Or if you would prefer, you can provide ftp-access to the site, just send it through PM.

akis
Expert
Expert
Posts: 58
Joined: Feb 20th, '13, 20:33

Re: x-soho template and Integration

Postby akis » Mar 7th, '17, 10:13

Hello,
thanks alot for your help.
One more question , how can i change date format to dd/mm/yyyy in soho template ?
It was not possible from settings/general
Thanks again.

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: x-soho template and Integration

Postby ne_moj » Mar 7th, '17, 12:53

Hello akis

When you managed to notice, I made a change just now! :shock:
akis wrote:how can i change date format to dd/mm/yyyy in soho template ?

This must be done manually. When drawing the search form, and in the function that works with the data that the form sends. The function Template_check_availability() is located in the file - templates/x-soho/lib/functions.template.php

akis
Expert
Expert
Posts: 58
Joined: Feb 20th, '13, 20:33

Re: x-soho template and Integration

Postby akis » Mar 7th, '17, 13:23

Ok, thanks a lot

akis
Expert
Expert
Posts: 58
Joined: Feb 20th, '13, 20:33

Re: x-soho template and Integration

Postby akis » Mar 8th, '17, 10:52

Hi,
{module:rooms} in rooms page does not work, you can check your demo page


Return to “ApPHP HotelSite / uHotelBooking Talk {developers/users}”