HOW TO show Search Availability widget in horizontal layout?

Talk and help info about common issues

Moderators: ne_moj, zewa

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

HOW TO show Search Availability widget in horizontal layout?

Postby administrator » May 19th, '13, 07:52

By default availability widget is shown in vertical layout, but you may change it to be shown in horizontal layout with easy.
To do it perform following step:

1. Go to widgets/ipanel-left/index.php
and change

Code: Select all

Rooms::DrawSearchAvailabilityBlock(false, '', 8, 3, false, $host, '_parent', true);

with

Code: Select all

Rooms::DrawSearchAvailabilityBlock(false, '', 8, 3, true, $host, '_parent', true);


2. Go to widgets/ipanel-left/main.js
and change

Code: Select all

myIframe.height = 320;
myIframe.width = 215;


with

Code: Select all

myIframe.height = 110;
myIframe.width = 590;


That's all!
Now you could display availability widget in horizontal layout:
widget-hor-layout.png
widget-hor-layout.png (9.9 KiB) Viewed 1585 times

Return to “ApPHP Hotel Site {HOW TO}”