Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Incorrect script tags in HTML?

More
5 years 4 months ago #5085 by jjst135
Incorrect script tags in HTML? was created by jjst135
Hi! What could be the problem when after activating jQuery  Easy/Profiles and then these script tags appear in the HTML of the page?

<script src="/JQEASY_JQLIB" type="text/javascript"></script>
<script src="/JQEASY_JQNOCONFLICT" type="text/javascript"></script>

Joomla 3.9
PHP 7.2.10
jQuery Easy Profiles 3.0.2

Kind regards, Jip

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

More
5 years 4 months ago #5086 by syw
Replied by syw on topic Incorrect script tags in HTML?
Hello Jip,

this error is the typical result of a conflict with another plugin, preventing the jQuery Easy plugin engine to 'finish' its work. 

You can try re-ordering the system plugins.
As a reminder:

jQuery Easy cannot analyze and fix issues on aggregated or zipped code.
Some tools or templates perform high levels of optimizations that render scripts unidentifiable (the plugin looks for file names but not the content of those files), therefore if a file is a compilation of library scripts, it won't find those scripts). Use one or the other. In this case, identify issues with jQuery Easy on non-aggregated code, fix the code internally (or by requesting support for the faulty extension(s)), disable jQuery Easy and finally optimize the code before putting the site into production.
Plugins are executed in the order in which they appear in the Ordering column of the Plugin Manager.

The jQuery Easy plugin needs to be called last. In most cases, the ordering doesn’t matter. However, in some cases, where you have more than one plugin triggered from the same event, and where the results of one plugin can affect the processing of jQuery Easy, the order can be important. In this case, you can change the order in the Plugin Manager by adjusting the Ordering values to control the execution order.

Olivier.
The following user(s) said Thank You: jjst135

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

More
5 years 4 months ago #5087 by jjst135
Replied by jjst135 on topic Incorrect script tags in HTML?
Problem solved... I noticed in our template the Joomla head code was placed after the closing </head> tag. That messed up the whole thing.

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

More
5 years 4 months ago #5088 by syw
Replied by syw on topic Incorrect script tags in HTML?
Great! Glad you have found the issue :-)

Olivier.

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