Drupal 6.x + MCFileManager

New to Drupal 6 is the WYSIWYG API which makes light work of handling multiple flavors of wysiwyg editors. When upgrading to WYSIWYG API 6.13 you will have to change the location where your installed editors live. They move up the directory path to sit in the following location: sites/all/libraries

Next is getting your existing plugins such as MCFileManager to work with the new framework. Its actually quite easy. Open sites/all/modules/wysiwyg/editors/tinymce.inc and insert the following code around line 414 after the advimage declaration.

'filemanager' => array( 'path' => $editor['library path'] . '/plugins/filemanager', 'buttons' => array('filemanager' => t('File Manager')), 'url' => '', 'internal' => TRUE, 'load' => TRUE, ),

Then you will need to change your relative path to the files directory so you can start uploading files. To do this you need to open sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/filesmanager/config.php and change the filesystem.rootpath to be "../../../../../../../default/files"

Recommended reading

Design by Jon