In a template i did use:
Code: Select all
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
Then, when i open pagemanager i do get this error "Offending extension using its own jQuery library detected".
Now i did search a few hours and found a few interesting things:
Here i did read this:
"This won't get fixed (as it's not possible to fix it in all cases)". Does that mean that sometimes it can be fixed?
Does that mean there is some hope for me to get this fixed?
On cmsimple-jp.org i found some text. It is in Japanese, and since my Japanese isn't that good anymore i did trow it in google translate:
Result:
When you click "Page Management"
A fatal error was detected in the jQuery library. (See the manual "Limitations / restrictions")
Offending extension using its own jQuery library detected (see manual, section "Limitations").
And that.
It is conflicting with Pagemanager plugin and jquery.js writing directly in the template.
... The way of workaround, two ...
Method 1: Use jQuery.js prepared by CMSimple regularly (Do not write jquery.js directly on the template side)
Plug-in management → Jquery → Basic setting → Autoload checked
However, since CMSimple's jquery has no technique (Enqueue System) to boost the reading order, it may be necessary to consider the dependency on the template side.
Method 2: JQuery.js on the template side is used regularly, not applied to the management screen. (It is quick)
It is judged by if (! $ Adm), for example
Code: Select all
# in tempalte.htm
<?php if(!$adm){ ?>
<script src="*****js/jquery-1.8.3.min.js"></script>
<?php } ?>
Can somebody fix it as a paid job ofcourse.
Or is it possible to exclude the jquery code when i'm in admin mode or in pagemanager.
Is there maybe a way to use a different template when using a specific plugin (pagemanager) ?