jquery problem ?

herve , March 07 2022, 12:07
H
herve 59
March 07 2022, 12:07 #246
Hello
I have a problem to save the module exposed in backoffice in connection with the module of regular labs "advanced manager module" in joomla 4.1
In the console, I see an error (in red) that says:
Uncaught ReferenceError: 
jQuery is not defined
at script.js:1:1 UIkit active

on the link
https://v2.clibre.eu/modules/mod_nx_exposer/models/fields/script.js
Is it possible to remove this error?
Regards
marco 467
March 07 2022, 17:05 #247
Hi herve
Exposer requires jQuery currently but it is maybe not loaded by your template in J4 - Can you please check in the module settings of Exposer in the Advanced Tab if jQuery is enabled? (Load jQuery by Module)
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
H
herve 59
March 09 2022, 13:51 #248
Hi Marco
jquery was enabled. the problem was with another module.
Will jquery still be needed or would a boostrap5 version be considered?
Regards
marco 467
March 15 2022, 12:51 #265
 1
 Answer
Hi Herve
I think we can rid of jQuery within one of the upcoming updates - i will check that.
Exposer is not Bootstrap related - it is using UiKit 3.x - uikit itself also not requires jQuery - but for some "specials" i've used jQuery - but it should possible to change this to VanillaJS in the future.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------