Can't find jQuery framework

More
21 Mar 2019 10:34 - 21 Mar 2019 21:25 #1 by Demis [Fox-Labs]
Can't find jQuery framework was created by Demis [Fox-Labs]
Can't find jQuery framework, Fox Contact will not work properly.

Introduction
Fox Contact, as many other extensions, relies on jQuery, a JavaScript framework bundled with Joomla.
Some poorly designed JavaScript optimizers, either distributed as stand-alone extensions or as a template's feature, may change the order of JavaScript inclusion in the page.
Suppose that the jQuery library goes, for example, at the bottom of the JavaScripts stack. In this case, at the time when Fox Contact’s JavaScript are executed, jQuery has not yet ready.
If you are aware of a JavaScript optimizer running on your website, you can optionally check whether temporary disable any optimization helps.

Solution
Go to Fox Contact Global configuration, either under
  • System → Global Configuration → Fox Contact, or
  • Components → Fox Contact → [⚙ Options].
There open the "Troubleshoot" tab.



Set "Resource Loading" to "Optimize for Compatibility", and don’t forget to press "Save" button!
This will move back Fox Contact’s resources (both JavaScripts and StyleSheets) at the bottom of the loading stack, when JQuery library is supposed to be ready in any case.

Notice: This workaround requires Fox Contact 3.9.8 or newer.

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