Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Event calendar not working properly after upgrading to 4.5
« previous
next »
Print
Pages: [
1
]
Author
Topic: Event calendar not working properly after upgrading to 4.5 (Read 5468 times)
bledi
Full Member
Posts: 244
Event calendar not working properly after upgrading to 4.5
«
on:
July 26, 2016, 19:43:34 »
Event calendar not working properly after upgrading to 4.5
When i click the arrow of next month or a date with custom events the link goes to:
www.domain.com/#
regards
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Event calendar not working properly after upgrading to 4.5
«
Reply #1 on:
July 26, 2016, 23:15:09 »
Elxis 4.5 uses the brand new
jQuery v3
. Although it also ads the migration plugin there might be problem with some extensions. Give us a link to your site to see the problem and propose you a solution.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
bledi
Full Member
Posts: 244
Re: Event calendar not working properly after upgrading to 4.5
«
Reply #2 on:
July 26, 2016, 23:40:59 »
Ok thanks,
http://mtitravel.al
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Event calendar not working properly after upgrading to 4.5
«
Reply #3 on:
July 27, 2016, 22:42:19 »
I spent some time but didn't manage to find the problem. Needs extended check and this time which I haven't. Most probably the problem has to do with
jQuery 3
. Elxis 4.5 has also the old jQuery 1.11, switch to that version and I believe the problem will be solved.
Open this file:
includes/libraries/elxis/document.class.php
go to lines
307-314
and change them to this:
public function addJQuery() {
$jqpath = eFactory::getElxis()->secureBase().'/includes/js/jquery/';
//$this->addLibrary('jquery', $jqpath.'jquery-3.0.0.min.js', '3.0.0');
//$this->addLibrary('jquery-migrate', $jqpath.'jquery-migrate-1.4.1.min.js', '1.4.1');
//If you face problems with jQuery 3 comment the 2 lines above and uncomment the 2 lines below
$this->addLibrary('jquery', $jqpath.'jquery-1.11.1.min.js', '1.11.1');
$this->addLibrary('jquery-migrate', $jqpath.'jquery-migrate-1.2.1.min.js', '1.2.1');
}
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
bledi
Full Member
Posts: 244
Re: Event calendar not working properly after upgrading to 4.5
«
Reply #4 on:
July 28, 2016, 10:43:45 »
OK, many thanks, now it works properly.
regards
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Event calendar not working properly after upgrading to 4.5
«
Reply #5 on:
July 31, 2016, 19:49:12 »
Since
Elxis 4.5 rev1876
(
July 31, 2016
) there is a new configuration option that controls the
jQuery
version to use. Update to that version in order not to require to hack Elxis for this. You will be able to set jQuery to
v1.x+Migrate
from the administration console.
For more read this
.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Event calendar not working properly after upgrading to 4.5