- Posts: 2
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Trying to solve a conflict with jquery easy
- adrien5555
-
Topic Author
- New Member
-
je vais adopter la langue du partage pour que cela serve éventuellement à d'autres.
Reading the impressive comments on the JED, jquery easy needs probably a bit more tweaking to solve my conflicts.
If you can help, that'd be great, i'm a complete JS newbie :dry:
2 problems on the CTA buttons :
www.anco.pro/votre-bureau-de-controle-technique
and
www.anco.pro/un-bureau-de-controle-techn...tion-de-votre-maison
The template used is Yoo Revista, and it displays, for a while, a potential warning about jquery conflicts. I did nothing about it, but now, the support of a crucial extension i use, broken due to the conflict, tells me to solve that.
here is the message from the support of the conflicting extension (Pweb contact form) :
There are two bootstrap js libraries loaded on your site from your template. The display in our module is bootstrap Lightbox so it could break our module. We are using native Joomla one. There is no need to add another.
Please try disabling loading following files by template and please tell me if it is solved.
<script src="/cache/template/bootstrap.min-089956f7.js
" type="text/javascript"></script>
and
<script src="/cache/template/jq-bootstrap-1.8.3-c28e7f53.js
" type="text/javascript"></script>
so, this is related to bootstrap more than jquery, and this is just for information purpose I mention this.
More related to Jquery is the warning from the template :
Merci si tu peux m'aider...
Adrien
PS : le premier post envoyé n'a pas fonctionné
- admin
-
- Administrator
-
- Posts: 1931
I am looking at it right now.
What version of jQuery Easy are you using? I am surprised some libraries are not removed by the plugin.
Also, posts do not show up until I moderate them. I did get the first post
I will get back to you really soon.
Olivier.
- admin
-
- Administrator
-
- Posts: 1931
One thing I do not understand is why the template itself loads several versions of jQuery...
/cache/template/jquery.min-dec5ebca.js is jQuery v1.10.2
/cache/template/jquery-4c3ef80e.js is jQuery v?
/cache/template/jq-bootstrap-1.8.3-c28e7f53.js is jQuery v1.8.3
You need to setup jQuery Easy (I assume you are using Joomla! 3+) so that:
- it uses Joomla's framework files (select version 'joomla framework' for the version of jQuery)
- you don't load jQuery UI (I don't think you need it, but if you do, add a subversion number because it does not load right now)
- in 'strip remaining scripts', add:
/cache/template/jquery.min-dec5ebca.js
/cache/template/jquery-noconflict-26db7775.js
/cache/template/jquery-migrate.min-dea1736b.js
/cache/template/jquery-4c3ef80e.js
/cache/template/jq-bootstrap-1.8.3-c28e7f53.js
(the first 4 files should have been removed by the plugin so either you do not have the latest version OR those files were added after the jQuery Easy plugin worked on your page. So it may be a matter of re-ordering system plugins).
Much more can be done (like enabling the plugin in certain pages only), deleting extra CSS files that remain in there that I don't think are needed.
Give this a shot and let me know when you are done.
Olivier.
- adrien5555
-
Topic Author
- New Member
-
- Posts: 2
thanks for helping, cause yes, it's a mess.
Site is under Joomla! 2.5.19 and Easy jquery 1.5.5
So i dont have the 'option framework' in jquery version.
the thing is I dont know what/where to test. So i took the homepage where there is obviously a conflict between Widgetkit and Pweb Contact Form : www.anco.pro/
And i tested the behavior of the CTA button + display of widgetkit.
before test, without JQEasy : CTA button is OK, but widgetkits dont display.
scripts :
test 1 : activate jquery + UI (v1.
button OK + widgetkits display
scripts
test 2 : activate jquery + UI (v1.
button OK + widgetkits display
scripts now in the source code :
in short, Jquery Easy made the trick on the homepage
more tests to come ! I'll report here, in case I get stuck moving forward
merci
Adrien
- admin
-
- Administrator
-
- Posts: 1931
What threw me off is the comment 'We are using native Joomla one. There is no need to add another.'. There is no bootstrap prior to Joomla! 3 packaged with Joomla. So I am surprised the extension actually is warning you they are using the Joomla Bootstrap version in Joomla v2.5.19...
Olivier.
