Support Forum
I have problems with showing Post's toolset and Admin links jscript menus in WP 3.3 and SP 5.0. After showing these menus, they are immediately disappear from screen.
TinyMCE, when opened does not allow to write anything in the editor area.
Why?
(you can try this on my test site: http://igranje-org.enc.com.hr/forum
looks like js issue... and perhaps conflict with mootools which is known to be very problematic for wp since its js shares namespace with jquery... its the blip slideshow plugin...
it that plugin really do anything on the forum page??? shouldnt be loaded if not, but too many plugins get lazy...
can you temp disable it, clear browser cache and see if it resolves it?
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
looks like js issue... and perhaps conflict with mootools which is known to be very problematic for wp since its js shares namespace with jquery... its the blip slideshow plugin...
it that plugin really do anything on the forum page??? shouldnt be loaded if not, but too many plugins get lazy...
can you temp disable it, clear browser cache and see if it resolves it?
Still does not work... maybe some other plugin makes trouble? I'll try to disable one by one in some days 😉
actually, after another look, I bet its the theme...
looks like its including jquery ui from googleapis instead of using the jquery ui that ships with wp... so you now have to versions loaded... and the one from googleapis is older (1.7.1) vs the version loaded by wp (1.8.16)... and there were some major changes in between...
themes (and plugins) need to quit loading js that wp supplies... likely to cause issues like this...
you can test my theory by a quick switch to the wp default theme and see if it works... then fix the theme to use the wp api and enqueue js including jquery ui...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
actually, after another look, I bet its the theme...
looks like its including jquery ui from googleapis instead of using the jquery ui that ships with wp... so you now have to versions loaded... and the one from googleapis is older (1.7.1) vs the version loaded by wp (1.8.16)... and there were some major changes in between...
themes (and plugins) need to quit loading js that wp supplies... likely to cause issues like this...
you can test my theory by a quick switch to the wp default theme and see if it works... then fix the theme to use the wp api and enqueue js including jquery ui...
You are right! With some other theme it's works! Maybe google+ widget force using that problematic jquery?
Yes, this is the theme's problem.
I found this inside script.php of my theme:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory')?>/js/jquery.cycle.all.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory')?>/js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory')?>/js/superfish.js"></script>
So, may theme call googleapis instead WP jquery. I must see how can handle this...
the proper way in wp to load js such as jquery:
http://codex.wordpress.org/Fun.....eue_script
so all four of those loads are wrong... should just load the last three using wp_enqueue_script() with jquery as a dependency... then wp will load the version it ships with...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
the proper way in wp to load js such as jquery:
http://codex.wordpress.org/Fun.....eue_script
so all four of those loads are wrong... should just load the last three using wp_enqueue_script() with jquery as a dependency... then wp will load the version it ships with...
I'm simply commented script line with googleapis and now all works perfectly (a little formatting issues are still here, but this is not problem linked to jquery. Internal frame of showing menu is a little too wide for external frame of menu...)
normally you shouldnt have to include jquery at all... just list as dependency, so just wish those theme authors doing it wrong would get with the times...
not sure I follow your last... did you need help with something still? if so, please be bit more specific or use a screenshot...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)