OK. I’ve looked up the notes I made and reproduced them here. Some of it may not be quite right or necessary, but these are the hacks I made. The filename is in bold and the location is in italic. As I say they are hacks. I’m no expert.
What I put together was mostly from the .
Good luck!
PS for any EE people listening - please develop an integrated wysiwyg editor. I’m sure you seen one that simply plugs into Wordpress. I want to make sites that reasonably competent people can easily input to in a familiar way. Build one that has selectable format options to enable/disable to suit the developer’s need to preserve layout and design. When I recently saw the wordpress editor I thought “I want that one!” Akismet integration would be nice too.
EE Extension Config
location EE->Admin->Utilities->Extensions->FCKEditor
var oFCKeditor = new FCKeditor(textAreaName);
oFCKeditor.BasePath = '../fckeditor/' ;
oFCKeditor.Config["CustomConfigurationsPath"]="http://www.highandlonesome.com/myconfig.js";
oFCKeditor.ReplaceTextarea() ;
fckconfig.js
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
myconfig.js
location - site root
Custom settings for FCK Editor and EE
// Say which connector to use
FCKConfig.ImageBrowserURL =
'http://www.highandlonesome.com/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php';
FCKConfig.LinkBrowserURL =
'http://www.highandlonesome.com/fckeditor/editor/filemanager/browser/default/browser.html?Type=File&Connector=connectors/php/connector.php';
FCKConfig.MediaBrowserURL =
'http://www.highandlonesome.com/fckeditor/editor/filemanager/browser/default/browser.html?Type=Media&Connector=connectors/php/connector.php';
// Getting rid of unneccessary image upload functions
FCKConfig.ImageDlgHideLink = true;
FCKConfig.ImageUpload = false;
FCKConfig.ImageDlgHideAdvanced = true;
FCKConfig.StylesXmlPath = '../fckstyles.xml' ;
config.php
fckeditor>editor>filemanager>browser>default>connectors>php> config.php
$Config'Enabled' = true ;
// Path to user files relative to the document root.
$Config'UserFilesPath' = '/images' ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
//$Config'UserFilesAbsolutePath' = './public_html/images/' ;DON'T USE THIS
frmresourceslist.html
fckeditor>editor>filemanager>broswer>default> frmresourceslist.html
after function OpenFolder( folderPath )
//hacked by CE
function OpenFile( fileUrl )
{
var urlChange = 'http://www.highandlonesome.com'+fileUrl.toString();
window.top.opener.SetUrl(urlChange) ;
// window.top.opener.SetUrl( fileUrl )
window.top.close() ;
window.top.opener.focus() ;
}