Main menu

Forum


× Help Forum English

[SOLVED] Problem with conflict JS

  • ninefix
  • Autore della discussione
  • New Member
  • New Member
Di più
6 Mesi 2 Settimane fa - 5 Mesi 6 giorni fa #18366 da ninefix
[SOLVED] Problem with conflict JS è stato creato da 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
Ultima Modifica 5 Mesi 6 giorni fa da Lyr!C. Motivo: [SOLVED]

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
6 Mesi 1 Settimana fa #18369 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • ninefix
  • Autore della discussione
  • New Member
  • New Member
Di più
6 Mesi 1 Settimana fa #18374 da ninefix
Risposta da ninefix al 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

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
6 Mesi 1 Settimana fa #18381 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • ninefix
  • Autore della discussione
  • New Member
  • New Member
Di più
5 Mesi 2 Settimane fa #18416 da ninefix
Risposta da ninefix al 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
Ringraziano per il messaggio: Lyr!C

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
5 Mesi 6 giorni fa #18424 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.254 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new