Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Trying to use Moxiecodes image manager with TinyMCE in the CMS

Go to End



Community Member, 288 Posts

23 July 2009 at 1:43am

I found the tutorial documentation for adding new plugins and buttons, namely

HtmlEditorConfig::get('cms')->enablePlugins('../../tinymce_ssmacron'); // enables plugin
HtmlEditorConfig::get('cms')->insertButtonsAfter('charmap', 'ssmacron'); // positions plugin

I tried that and it works. I put the image manager in the same folder as tinymce_ssmacron (jsparty) and followed the instructions on the moxiecode wiki. However I get no new button for the image manager. The code in the wiki (as far as I understand it) should be
HtmlEditorConfig::get('cms')->insertButtonsAfter('tablecontrols', 'insertimage');

However this has no effect whatsoever. I don't get a new button and thus no image manager.

Does anyone know if Moxiecodes image manager can be used with Silverstripe and if so how? It's a great plugin for uploading images on the fly when editing content.