Here’s what I use:
- Move the whole folder filemanager in to /tiny_mce/j_scripts/tiny_mce/plugins/
- Edit config.php, changing these lines around line 33 to reflect customized settings. Note: I am using the same value for filesystem.path and filesystem.rootpath. The setting I chose points all the way back to the root, and then to ee-assets/my-uploads. You’ll need to change this to be whatever main folder you use to store the files you want to manage.
$mcFileManagerConfig['filesystem.path'] = '../../../../../ee-assets/my-uploads';
// absolute or relative from this script path.
$mcFileManagerConfig['filesystem.rootpath'] = '../../../../../ee-assets/my-uploads';
// absolute or relative from this script path.
Spellchecker plugin integration
- Move the whole spellchecker folder to /tiny_mce/j_scripts/tiny_mce/plugins/
- Change this line in spellchecker/config.php so it will use internal PHP spellchecking
// General settings
$spellCheckerConfig['enabled'] = true;
LG TinyMCE config settings
button_tile_map : 'true',
mode:'textareas',
editor_selector : 'lg_mceEditor',
content_css : '/path-to-your-css-file-from-root/tinymce-base-styles.css',
mode: "textareas",
theme: "advanced",
theme_advanced_toolbar_align : "left",
plugins : "advlink,spellerpages,paste,filemanager,spellchecker",
theme_advanced_buttons1: "formatselect, removeformat,cleanup, spellerpages,pastetext, separator, bold, italic, bullist, numlist, outdent, indent, separator, cut, copy, paste, separator, link, unlink, image, separator, undo, redo, separator, charmap, code, spellchecker",
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",
theme_advanced_blockformats: "p,h2,h3,h4,pre",
relative_urls: "false", document_base_url: "/",
remove_script_host: "true",
convert_newlines_to_brs: "false",
force_p_newlines: "true",
paste_create_paragraphs : "true",
paste_use_dialog : "true",
cleanup_on_startup: "false",
theme_advanced_toolbar_location : "top",
custom_undo_redo_levels : 10,
cleanup_on_startup: "false",
extended_valid_elements : "a[name|href|target|title|onclick|class|style],img[src|class|style|width|height|border],td[nowrap]",
paste_use_dialog : "false",
width: "500"
Hopefully this will help people get started. Keep in mind: these settings do not address any sort of authentication that TinyMCE may offer. They just get the LG TinyMCE plugin, TinyMCE itself, and the FileManager plugin working.