Using KFM as a plugin for FCKeditor
- Unzip KFM into FCKeditor's
editor/plugins/directory - rename the
kfm-1.xdirectory tokfm - copy
configuration.php.disttoconfiguration.php - edit
configuration.phpto your satisfaction.- most variables are already set to a good default.
- you must configure a database. it can be a database you are already using for some other purpose.
- to use a database you are already using for some other purpose, set the
$kfm_db_prefixvariable. that way, tables will be created with that prefix (helps you tell them apart from your other tables).
- add this to the bottom of your
fckconfig.js:FCKConfig.Plugins.Add('kfm'); - important: clear the cache in your browser
That's it - now, when you click "Browse Server" in FCKeditor, KFM should set itself up.
If you get an error that 'error: no writable workpath is specified', then make sure that the directory mentioned in $kfm_userfiles is writable by the web server, as well as all files contained within it.