Support Forum
Yellow Swordfish said
Carley - I know we have had a few people with this issue but usually it does come down to the jQuery conflict issue and the problem is that if there IS such a conflict even if not responsible for the editor problem, it DOES have to be sorted out first so we can then look at other possible culprits.
If possible - and I realise it isn't always so easy - a quick test is to switch your site briefly to use the WP default theme to ascertain if the problem still exists - and then switch right on back again of course.
But your theme IS doing thinghs incorrectly. This codex article explains this in detail - http://codex.simple-press.com/.....-conflict/ (note you will need to currently log in separately to the codex).
In your case it is complicated by the fact that the theme is loading a 'custom' version of the jQuery UI library and we do not know what that contains. But can find out of the loading is corrected as we can then see what might be missing and add it back in.
So - the culprits in the theme are:
- jquery-ui-1.8.16.custom.min.js
- jquery.ui.core.js
- jquery.ui.datepicker.js
- jquery.ui.widget.js
all of which are being supplied and loaded from the theme instead of using the WP supplied versions.
You can talk to the theme author and suggest they change things to 'enqueue' these scripts properly from the WP library or - if you can find where they are being loaded, we can help you correct the code which is usually not that hard to do.
Hi when you say 'if you can find where they are being loaded' do you mean if we can find those files in our system? I have looked at the source, and can see the code in the header.php for those files, how do we correct this code?
please post the code for loading...
I would want to look at the first one (the 1.8.16 one) and verify its really jquery ui vs a series of functions that use jquery ui (andy may have already done so)...
but typically you would change the hard code loading of local to use wp stuff...
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-widget');
wp_enqueue_script('jquery-ui-datepicker');
or if that first one is a local library of functions, would be better to do
wp_enqueue_script('myui', $script, array('jquery', 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-datepicker'), false, false);
where $script is the path to the js file... if you have a link to that js file, we can look at it and tell which is better...
Visit Cruise Talk Central and Mr Papa's World
no worries... so all is good now?
Visit Cruise Talk Central and Mr Papa's World
I finally managed to get to the codex article mentioned above. Now I will contact the creator of the offending plugin on my site and ask if they can do something that will stop the conflict with the simple press tinymce plugin. If they cannot, did I understand correctly that if I provide the code, you can eliminate or change the jquery part that causes the problem? The offending plugin is very useful and I don't want to lose it. Or did I misinterpret one of the previous posts?
Hi there,
I'm also having problems using the TinyMCE Editor, I cannot enter text in the post reply.
My forum link is http://totalrevue.com/forum
I'm using WP Super Cache though cannot find how to exclude the forum as it's dynamic
I've tried deactivating and deleting some irrelvant plugins to no avail. It's works without the editor but I want to include it.
Any ideas?
1 Guest(s)