Main menu

Forum


× Help Forum English

[SOLVED] Problem with conflict JS

  • ninefix
  • Topic Author
  • New Member
  • New Member
More
5 months 1 week ago - 4 months 10 hours ago #18366 by ninefix
[SOLVED] Problem with conflict JS was created by ninefix
Hi all, I've just installed the extension iCagenda on my website and when it become loaded into the page (linked to menu entry) the drop-down menus in the page stop working (press on it and nothing happen)

It seems a problem with libraries, like JS, that conflict with libraries loaded by template ifself

Is there a way to disable libreries loaded by iCagenda?

Any hint is welcome

Thanks so much
Last edit: 4 months 10 hours ago by Lyr!C. Reason: [SOLVED]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
5 months 1 week ago #18369 by Lyr!C
Replied by Lyr!C on topic Problem with conflict JS
Hello,

Could you provide an online link?

Note: another extension may not load jQuery as it should (from Joomla core API or using at least a control).
But this could be due too to a bug in another script.

Are you on Joomla 3?

Best regards,
Cyril

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • ninefix
  • Topic Author
  • New Member
  • New Member
More
5 months 6 days ago #18374 by ninefix
Replied by ninefix on topic Problem with conflict JS
Hi,

starting from here: develop.istitutotrento5.it/ictn5-current/

You can notice that the menu works as expected.

Then go here: develop.istitutotrento5.it/ictn5-current...w=events&Itemid=2675

where iCagenda is linked. You can notice that the menu is not working anymore

Joomla version: 4.4.0

Thansk very much

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
5 months 1 day ago #18381 by Lyr!C
Replied by Lyr!C on topic Problem with conflict JS
Hello,

Your site template is loading its own version of jQuery without checking if jQuery from Joomla API is already loaded.

So, on the page, jQuery library is loaded 2 times, and you have a conflict (resulting in jQuery not working).

Check if an option in your site template to have a noconflict mode or a way to use Joomla jQuery core version only.
If none, try to fix it with jQuery Easy plugin to fix loading of jQuery.

Tho it's always better to use Joomla jQuery as using correctly API of Joomla prevent such possible issue.

Hope this helps?

Best regards,
Cyril

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • ninefix
  • Topic Author
  • New Member
  • New Member
More
4 months 1 week ago #18416 by ninefix
Replied by ninefix on topic Problem with conflict JS
I've solved the problem using jQuery Easy plugin as you suggested

Now the page works correctly

Thanks so much for the hint

Have a good last day of the year
The following user(s) said Thank You: Lyr!C

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
4 months 10 hours ago #18424 by Lyr!C
Replied by Lyr!C on topic Problem with conflict JS
Hello,

jQuery Easy plugin does magic! ;-)

Happy New Year!

Best regards,
Cyril

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.232 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new