Error in Widget 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.

Moderator: alexandrleonenko

alfonsogomez
Newbie
Newbie
Posts: 6
Joined: Mar 24th, '16, 08:12

Error in Widget Integration

Postby alfonsogomez » Mar 24th, '16, 08:15

If I use Widget Integration or I see your demo, icon to use calendar desappears. Why?

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

Re: Error in Widget Integration

Postby ne_moj » Mar 25th, '16, 08:32

Hello

Could you explain what is happening (it would be nice if you could show a picture or a link to a working example)
thank you in advance

alfonsogomez
Newbie
Newbie
Posts: 6
Joined: Mar 24th, '16, 08:12

Re: Error in Widget Integration

Postby alfonsogomez » Mar 26th, '16, 09:06

You can see here
Attachments
cap1.jpg
cap1.jpg (20.3 KiB) Viewed 1963 times

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

Re: Error in Widget Integration

Postby ne_moj » Mar 28th, '16, 09:10

Hello Alfonso Gomez

As I understand it (example found on your site) you need to put a search form on the page check_availability. I think the following should help - file "page/check_availability", place the following lines:

Code: Select all

echo '<h2>'._RESERVATION.'</h2>';            
Rooms::DrawSearchAvailabilityBlock(false, '', '', 8, 3, 'room-inline', '', '_parent', true);
Rooms::DrawSearchAvailabilityFooter('', '');


Before string (I have this line number 128):
...
if ($ rooms_count> 0) {
...


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