Main menu

Forum


× Help Forum English

[SOLVED] Problem with conflict JS

  • ninefix
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 4 mois 4 semaines - il y a 3 mois 2 semaines #18366 par ninefix
[SOLVED] Problem with conflict JS a été créé par 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
Dernière édition: il y a 3 mois 2 semaines par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 4 mois 3 semaines #18369 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • ninefix
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 4 mois 3 semaines #18374 par ninefix
Réponse de ninefix sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 4 mois 2 semaines #18381 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • ninefix
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 3 mois 3 semaines #18416 par ninefix
Réponse de ninefix sur le sujet 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
Les utilisateur(s) suivant ont remercié: Lyr!C

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 3 mois 2 semaines #18424 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.218 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new