Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
TinyMCE Unable to type in Text Field
Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2012 - 4:02 pm

I deleted the jquery-ui-1.8.10.custom.min.js file from the directory - wiped cache on both browser and in WP but no luck. Can you confirm it's not loaded anymore?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2012 - 4:10 pm

well, its still trying to load it...  but does not appear to be finding it...

I am seeing a js error from all.js - something to do with facebook... not sure if critical...

and the google apis jquery ui is still being loaded...

Avatar
Total Revue
Member
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2012 - 4:16 pm

disabled the accordiam image menu plugin but the text area is still restricted.

 

Seems like its googleapis that's the problem.

 

I'll have it disabled for you to see for yourself

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2012 - 4:19 pm

how?  guests cannot post...

plus whatever is loading the googleapis should just load the wp verison... if you can find where its loaded, we can help fix it... usually in header.php or functions.php if the theme...

Avatar
Kevin Mitchell
Member
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2012 - 7:50 pm

This is from my functions.php. I've tried removing this

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

but if I do the Add reply button won't do anything.

 

/*************************** Enqueue Scripts ***************************/

function gp_enqueue_scripts() {
if(!is_admin()){

wp_enqueue_script('jquery');

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

if(is_singular()) wp_enqueue_script('comment-reply');

wp_enqueue_script('swfobject', 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js');

wp_enqueue_script('jwplayer', get_template_directory_uri().'/lib/scripts/mediaplayer/jwplayer.js', array('jquery'));

wp_enqueue_script('carousel', get_template_directory_uri().'/lib/scripts/jquery.carouFredSel.js', array('jquery'));

wp_enqueue_script('prettyphoto', get_template_directory_uri().'/lib/scripts/prettyPhoto/js/jquery.prettyPhoto.js', array('jquery'));

wp_enqueue_script('jqtransform', get_template_directory_uri().'/lib/scripts/jquery.jqtransform.js', array('jquery'));

}
}
add_action('wp_print_scripts', 'gp_enqueue_scripts');

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2012 - 8:56 pm

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');

Avatar
Kevin Mitchell
Member
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2012 - 10:48 am

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/fo.....m/general/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 1, 2012 - 12:56 pm

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kevin Mitchell
Member
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2012 - 2:38 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2012 - 2:46 pm

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

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625