BUGFIX Fixing reference to moved editor_plugin_src.js in HtmlEditorConfig settings

This commit is contained in:
Sean Harvey 2012-04-17 11:56:59 +12:00
parent 3d15159e22
commit de08c05027

View File

@ -27,7 +27,7 @@ HtmlEditorConfig::get('cms')->setOptions(array(
));
HtmlEditorConfig::get('cms')->enablePlugins('media', 'fullscreen');
HtmlEditorConfig::get('cms')->enablePlugins(array('ssbuttons' => '../../../cms/javascript/tinymce_ssbuttons/editor_plugin_src.js'));
HtmlEditorConfig::get('cms')->enablePlugins(array('ssbuttons' => sprintf('../../../%s/tinymce_ssbuttons/editor_plugin_src.js', THIRDPARTY_DIR)));
HtmlEditorConfig::get('cms')->insertButtonsBefore('formatselect', 'styleselect');
HtmlEditorConfig::get('cms')->addButtonsToLine(2, 'ssimage', 'ssflash', 'sslink', 'unlink', 'anchor', 'separator','code', 'fullscreen', 'separator');