Support Forum
so this only happens with Mingle active?? because something, must be mingle then, is doing things wrong... its loading jquery ui from another location:
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js?ver=3.3.2'></script>
and its an older version... and thus conflicting with the version that WP loads... read more: http://codex.simple-press.com/.....-conflict/
the wp devs and community is really trying to get this themes and plugins to quit loading js wrong like that... they really should just use the version that comes with WP...
so, next step would be to edit that mingle plugin and find where its incorrectly loading that old version of jquery ui...
then we can help you put the proper code in place in the plugin... ie
<?php wp_enqueue_script('jquery-ui-core'); ?> <?php wp_enqueue_script('jquery-ui-widget'); ?>
Visit Cruise Talk Central and Mr Papa's World
Thanks Mr Papa. So is this a matter of opening up the jquery files inside the Mingle plugin folder and editing them..?
I see these files:
jquery.elastic.js
jquery.qtip-1.0.0-rc3.min.js
jquery.ui.core.js
jquery.ui.datepicker.js
mingle.js.php
ui.core.js
ui.datepicker.js:
Do I need to edit code inside each of them??
Thanks!
no... you need to find the one file that outputs the code I put in post above... assuming it mingle of course...
Visit Cruise Talk Central and Mr Papa's World
Can you paste in what "the code" is?
Is it this:
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js?ver=3.3.2'></script>
??
OR
1 | <?php wp_enqueue_script('jquery-ui-core'); ?> |
2 | <?php wp_enqueue_script('jquery-ui-widget'); ?> |
??
And can you explain what you mean by "the file that outputs the code"?
Thank you!
In searching through the files inside the Mingle plugin folder, so far I've found this file:
/problem-with-post-edit-buttonome7/melissw6/public_html/creativeignitionclub/wp-content/plugins/mingle/classes/controllers/MnglAppController.php
Which contains this code:
function enqueue_mngl_scripts()
{
global $mngl_blogurl;
$mngl_js = $mngl_blogurl . '/index.php?mingle_js=mingle';
if(MnglUtils::is_version_at_least( '3.0-beta2' ))
wp_enqueue_style( 'jquery-ui-all', 'http://ajax.googleapis.com/aja.....ery-ui.css' );
else
wp_enqueue_style( 'jquery-ui-all', MNGL_CSS_URL . '/jquery/ui.all.css' );
wp_enqueue_style( 'mingle', MNGL_CSS_URL . '/mingle.css' );
wp_enqueue_script( 'jquery-elastic', MNGL_JS_URL . '/jquery.elastic.js', array('jquery') );
wp_enqueue_script( 'jquery-qtip', MNGL_JS_URL . '/jquery.qtip-1.0.0-rc3.min.js', array('jquery') );
if(MnglUtils::is_version_at_least( '3.0-beta2' ))
{
wp_enqueue_script( 'jquery-ui', 'http://ajax.googleapis.com/aja.....-ui.min.js', array('jquery') );
wp_enqueue_script( 'mingle', $mngl_js, array('jquery','jquery-elastic','jquery-qtip','jquery-ui') );
}
else
{ // load older javascript libraries
wp_enqueue_script( 'jquery-new-ui-core', MNGL_JS_URL . '/ui.core.js', array('jquery') );
wp_enqueue_script( 'jquery-ui-datepicker', MNGL_JS_URL . '/ui.datepicker.js', array('jquery','jquery-new-ui-core') );
wp_enqueue_script( 'mingle', $mngl_js, array('jquery','jquery-elastic','jquery-qtip','jquery-new-ui-core','jquery-ui-datepicker') );
}
---------
Does that help? I'm not sure what to do with this, if it does.
Thanks!
I have to get this site ready to launch, so I'm deactivating Mingle. HOWEVER, I have an old version of the site on a temporary domain, where Mingle is still active:
http://club.melissadinwiddie.com
Temporary login credentials are the same:
user: test
pw: t3st
I'd still really love to get Mingle to play nice with S:P, so I'll wait for your reply to my post above.
Thanks for all your help -- I really appreciate it!
yes... try changing:
wp_enqueue_script( 'jquery-ui', 'http://ajax.googleapis.com/aja…..-ui.min.js', array('jquery') );
to
wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-widget');
Visit Cruise Talk Central and Mr Papa's World
Thank you!
Question: there are two places that 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' shows up (see my copy & paste in post 15 above).
Do I just replace the second one? And do I replace it with BOTH lines of code in your reply (post 17 above)?
Thanks!
OH! MY! GOD! I just did exactly that, replaced:
wp_enqueue_script( 'jquery-ui', 'http://ajax.googleapis.com/aja…..-ui.min.js', array('jquery') );
with:
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-widget');
And it's WORKING!!!!!!!!!
You, sir, are a MIRACLE WORKER!!!!
Blessings and thanks a MILLION!!!!
🙂
So far I've only done it on my test site. Will try it on my real site...
THANK YOUUUU!!!
2 |
hey, you are keeping me up! can I go to bed yet? lol, jk
please reread my post... its not a .css file... but a jquery ui min... its in this section
if(MnglUtils::is_version_at_least( '3.0-beta2' )) { wp_enqueue_script( 'jquery-ui', 'http://ajax.googleapis.com/aja…..-ui.min.js', array('jquery') ); wp_enqueue_script( 'mingle', $mngl_js, array('jquery','jquery-elastic','jquery-qtip','jquery-ui') ); }
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)