Support Forum

TinyMCE Unable to type in Text Field

98 Answers

New Answer

MP Mr Papa
Mr Papa
Member

first, lets change

wp_enqueue_script(‘jqueryui’, ‘https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js’, array(‘jquery’));

to

wp_enqueue_script(‘jquery-ui-core’);

wp_enqueue_script(‘jquery-ui-widget’);

KM Kevin Mitchell
Kevin Mitchell
Member

Mr Papa said
first, lets change

wp_enqueue_script(‘jqueryui’, ‘https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js’, array(‘jquery’));

to

wp_enqueue_script(‘jquery-ui-core’);

wp_enqueue_script(‘jquery-ui-widget’);

Ok did so. If I select edit a post, I can now type in the box and use the buttons such as bold, italics etc., however, clicking the new topic or add reply button do nothing now.

 

I opened the forum to allow guests to post, so feel free to test.

http://www.selectbutton.com/forum/general/

YS Yellow Swordfish
Yellow Swordfish
Member

jQuery and the jQuery UI libraries are looking much better.

You still have the issue over the ‘accordion’ to resolve.

so – where you added those wp_enqueue_script calls add one more:

wp_enqueue_script('jquery-ui-accordion');

and you should be OK all being well.

KM Kevin Mitchell
Kevin Mitchell
Member

Yellow Swordfish said
jQuery and the jQuery UI libraries are looking much better.

You still have the issue over the ‘accordion’ to resolve.

so – where you added those wp_enqueue_script calls add one more:

wp_enqueue_script('jquery-ui-accordion');

and you should be OK all being well.

Ok, I added that into the same place I added the others. Cleared the cache and got the same result, the button doesn’t do anything.

MP Mr Papa
Mr Papa
Member

sorry, too many pages in this thread… link to site please

YS Yellow Swordfish
Yellow Swordfish
Member

Your theme just keeps throwing up one error after another! This is the problem when theme and pkugin authors do not stick to the simple rules. And also the fact that when a script throws an error it stops other scripts so those errors are only shown when the first one is fixed.

Seems like something also wants the tabs jquery plugin. Afraid its another new line but we must be getting there soon!

wp_enqueue_script('jquery-ui-tabs');

Let’s hope that is the last. You have got just about everything loaded there imaginable so fingers crossed.

KM Kevin Mitchell
Kevin Mitchell
Member

http://www.selectbutton.com/forum/general/

YS Yellow Swordfish
Yellow Swordfish
Member

Any luck after the addition of the tabs library?

KM Kevin Mitchell
Kevin Mitchell
Member

Yellow Swordfish said
Any luck after the addition of the tabs library?

Yep, that did the trick. Would have responded sooner but I couldn’t get on here.

MP Mr Papa
Mr Papa
Member

btw… the page appears cached?

<!– Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.selectbutton.com @ 2012-04-01 16:30:49 –>

just to be sure, have you told w3tc to ignore and not cache the forum page for ALL types of caching you are using?

MP Mr Papa
Mr Papa
Member

ah,posting at same time…  good news then!  yes, we had a server hiccup for a few minutes while we were configuring something else…  but back to normal now…

KM Kevin Mitchell
Kevin Mitchell
Member

As for the cache, if I add this to the page cache ignore list, http://www.selectbutton.com/forum/*, will that work?

TR Total Revue
Total Revue
Member

that’s great you maanged to get yours fixed. Where would I be looking to find the scripts (generally) of these jquery’s? would it be within the plugin files?

MP Mr Papa
Mr Papa
Member

usually you would just add /forum/ assuming your wp page slug for the wp page the forum appears on is forum…

but be sure to do it on every type of caching you are using…  w3tc has many different cache types and each one has its own exclusion list..

MP Mr Papa
Mr Papa
Member

TotalRevue – in the wp theme functions.php file…  see post #75: https://simple-press.com/support-forum/sp5-plugin-topics/tinymce-unable-to-type-in-text-field/page-8/#p104963