Elxis CMS Forum

Extensions => Components => Topic started by: bledi on April 28, 2020, 16:45:00

Title: Hotels Extension 2.5
Post by: bledi on April 28, 2020, 16:45:00
Hello, the "New+" button to add new hotels does not function...

IOS Reservations 5.1
Hotels 2.5

Any Idea??
Title: Re: Hotels Extension 2.5
Post by: bledi on April 29, 2020, 11:01:43
Hello datahell, can you have a look for this issue,
thanks
Title: Re: Hotels Extension 2.5
Post by: datahell on April 29, 2020, 21:15:10
I guess you are talking about the administration section. I also guess that you use Elxis 5.x.
If I guess correctly, then most probably you must add jQuery in Elxis administration template (Onyx) because Elxis 5.x does not load it by default and IOS Hotels need this.

open templates/admin/onyx/index.php

Add somewhere at the top:
$eDoc->addJQuery();

Title: Re: Hotels Extension 2.5
Post by: bledi on April 29, 2020, 23:19:36
Hello
Code added but still the same.

defined('_ELXIS_') or die ('Direct access to this location is not allowed.');
$eLang = eFactory::getLang();
$eDoc = eFactory::getDocument();
$eDoc->addJQuery();
$elxis = eFactory::getElxis();
Title: Re: Hotels Extension 2.5
Post by: datahell on April 30, 2020, 20:51:43
Ooops, sorry! You also need to load lightbox.

Replace this:
$eDoc->addJQuery();
With this:
$eDoc->loadLightbox();

Note: "loadLightbox" loads both JQuery and lightbox
Title: Re: Hotels Extension 2.5
Post by: bledi on April 30, 2020, 23:20:57
Thanks a lot, Fixed.
Title: Re: Hotels Extension 2.5
Post by: webgift on May 01, 2020, 12:48:43
This is a very common issue once update process complete!
Wish you have a good month!
Title: Re: Hotels Extension 2.5
Post by: bledi on May 10, 2020, 11:03:56
Hello datahell
I was trying to add some description for "Locations" at back end of IOSR hotels, but i noticed i can not save the text for the second or third language..only main language. IOSR Hotels 2.5; Reservation component 5.1.
When you have time, have a look please. I need this year to add our local language, no european tourist this year :(
Title: Re: Hotels Extension 2.5
Post by: webgift on May 13, 2020, 10:05:35
Hello @Bledi,
have you clicked on floppy disk icon at first and then Save or Apply button?
Title: Re: Hotels Extension 2.5
Post by: bledi on May 13, 2020, 15:08:25
Hello webgift, yes i have done that...
Title: Re: Hotels Extension 2.5
Post by: bledi on May 14, 2020, 14:32:35
Actually the floppy disk icon is missing at Location section
Title: Re: Hotels Extension 2.5
Post by: webgift on May 14, 2020, 20:11:19
Sorry i thought you use an older version. Have you submitted
any text for default language at first?
Title: Re: Hotels Extension 2.5
Post by: bledi on May 14, 2020, 21:00:46
Yes, i have done, and the default language is ok...but if you want to add other language description, it is not posible, because there is no way to save it.
Title: Re: Hotels Extension 2.5
Post by: bledi on May 25, 2020, 09:03:02
Any news for this issue...
Title: Re: Hotels Extension 2.5
Post by: bledi on May 28, 2020, 18:22:13
Hello datahell, can you be so kind and have a look to this issue. We still use this extension, so why hot fix it.
Title: Re: Hotels Extension 2.5
Post by: datahell on May 28, 2020, 20:43:21
I will fix it in a few minutes. Please wait for my reply.
Title: Re: Hotels Extension 2.5
Post by: datahell on May 28, 2020, 22:34:18
Problem solved. I found the opportunity to also make some other improvements in IOS Reservations so I released version 5.2.
From IOS Reservations menu go to "Updates", download the update patch from 5.1 to 5.2, apply it, and your problem will be solved.

Thanks for reporting this issue.
Title: Re: Hotels Extension 2.5
Post by: bledi on May 29, 2020, 22:04:47
OK, fixed.
Thanks a lot for the support.