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 Table Plugin?
Avatar
Schmucke
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 23, 2013 - 10:11 am

Hey,

we wont to use the tinyMCE plugin, but we need the Table Plugin from TinyMCE, can anyone tell me how can i activate this?

Thanks :-)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 23, 2013 - 11:14 am

in your spFunctions.php file of your SP theme (and make sure it is your theme and not ours to keep from losing changes on updates), add this:

add_filter('sph_mce_external_plugins', 'my_add_tinymce_plugins');
function my_add_tinymce_plugins($plugins) {
    $plugins['table'] = WP_CONTENT_URL.'/sp-resources/table/editor_plugin.js';
    return $plugins;
}

This assumes you put the table plugin folder in sp-resources directory...

then just go to tinymce options and add plugin of 'table' and a button of 'tablecontrols'

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625