Here is how I did it (Directly from the server, via SSH access):
Make a dir called 'fckeditor' in manager/media.
cd to that dir ('cd manager/media/fckeditor').
Download FCKeditor: http://prdownloads.sourceforge.net/fckedit...tar.gz?download
Make sure the tar.gz file is in 'manager/media/fckeditor' and unpack it there (' tar zxvf FCKeditor<version>.tgz').
Edit fckconfig.js and uncomment the php connectors and edit it, so it looks like this (change the ServerPath if needed):
FCKConfig.ImageBrowser = true ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=images&Connector=connectors/php/connector.php&ServerPath=/assets/' ;
Save the file.
Now open 'fckeditor.php', and edit the function 'FCKeditor' so it looks like (What is changed here is the 'BasePath' and the 'Height'):
function FCKeditor( $instanceName )
{
$this->InstanceName = $instanceName ;
$this->BasePath = 'media/fckeditor/' ;
$this->Width = '100%' ;
$this->Height = '400' ;
$this->ToolbarSet = 'Default' ;
$this->Value = '' ;
$this->Config = array() ;
}
Save the file.
Now open: 'editor/filemanager/browser/default/frmresourcetype.html' and edit 'var aTypes', so it looks like:
var aTypes = [
['File','File'],
['images','images'],
['Flash','Flash'],
['Media','Media']
] ;
Save the file.
Now open: ' editor/filemanager/browser/default/connectors/php/connector.php' and edit the array '$sResourceType', so it looks like:
if ( !in_array( $sResourceType, array('File','images','Flash','Media') ) )
Save the file.
Now cd to your manager dir ('cd <server_path>/manager'), open the file 'actions/dynamic/mutate_content.dynamic.action.php' and edit it(make a backup before you edit!):
First search for '} elseif($which_editor==1) {', and edit that part so it looks like:
</script>
<?php
} elseif($which_editor==1) {
include("/<full path to manager>/manager/media/fckeditor/fckeditor.php") ;
$sBasePath = "/manager/media/fckeditor/" ;
$oFCKeditor = new FCKeditor('ta') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = $content[content];
$oFCKeditor->Create() ;
?>
<!-- tinyMCE -->
<!-- /tinyMCE -->
<?php
}
} else {
?>
<div style="width:100%"><textarea id="ta" name="ta" style="width:100%; height: 400px;" onChange="documentDirty=true;"><?php echo htmlspecialchars($content['content']); ?></textarea> </div>
<?php
}
?>
</div>
<?php } ?>
Save the file.
Now the hard part is done
Login to your manager, and set the editor to TinyMCE in your configuration. You now should have a FCKeditor including a working image editor in etomite!
It works great for me, good luck with it!
Here is a screenshot of FCKeditor integrated into Etomite:












