Extensions > Components

Hotels Extension 2.5

(1/4) > >>

bledi:
Hello, the "New+" button to add new hotels does not function...

IOS Reservations 5.1
Hotels 2.5

Any Idea??

bledi:
Hello datahell, can you have a look for this issue,
thanks

datahell:
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();

bledi:
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();

datahell:
Ooops, sorry! You also need to load lightbox.

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

Note: "loadLightbox" loads both JQuery and lightbox

Navigation

[0] Message Index

[#] Next page

Go to full version