5098 Posts in 1518 Topics by 1115 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 756 Views |
-
TinyMCE Plugin

31 March 2011 at 12:37am
Hi,
I tried to install the the following TinyMCE Liststyle-Plugin:
http://policypoint.com/tinymce/docs/plugin_liststyle.html
(Download from: http://policypoint.com/tinymce/docs/plugin_liststyle.html)I copied the 'liststyle' directory sapphire/thirdparty/tinymce/plugins and I have added
HtmlEditorConfig::get('cms')->enablePlugins('liststyle');
HtmlEditorConfig::get('cms')->addButtonsToLine(2, 'liststyle');to mysite/_conifg.php, cms/_config.php & sapphire/_config.php - because I wasn't sure which file exactly ;) And, surprisingly, the plugin doesn't work
Does anyone have experience with that sort of thing?
Thanks,
lemoony
-
Re: TinyMCE Plugin

4 April 2011 at 8:59pm
Hi Lemoony,
I always put my TinyMCE plugins outside of hte core, in a folder called 'thirdparty' in the root. I then add this line to my config:
HtmlEditorConfig::get('cms')->enablePlugins(array('PluginName' => '../../../thirdparty/PluginName/editor_plugin.js'));
Not sure if it will help in your case though, but worth a try
Aram
www.SSbits.com - Your one stop SilverStripe learning resource
| 756 Views | ||
|
Page:
1
|
Go to Top |


