Version
The current version of the farms distribution is based on: _ckgEdit-ckedit_43-15-Jan_29-10_09_
This is based on the .htaccess
method of creating dokuwiki farms.
Instructions
You must create a media directory which your animal will access instead of the default ckgedit/fckeditor/userfiles
directory, which gives ckgedit access to data/media. Every animal requires its own directory to access its media files. Like userfiles
these directories will be located in ckgedit/fckeditor
. So if you have animals cat and dog, then you will have:
fckeditor cat dog userfiles
In each of these new directories you must create links to their actual media directories. You need at least three links named as follows:
media image file
They must all point to the data/media directory created for the animal. In addition you should copy blink.jpg and the relevant htaccess file from the fckeditor/userfiles directory into your new directory.
The final step is to create a new animal
configuration item in the local.php of each animal. For instance, in cat/conf/local.php:
$conf['animal'] ='cat';
Issues
So far, only one issue has arisen, the text names for internal media files. If for instance you have a pdf file named instructions.pdf
in the the docs
folder, the display name which appears on the screen will be the complete path to /farmer/lib/plugins/ckgedit/fckeditor/animal/file/docs/instructions.pdf
. This will appear after you click OK in the link dialog. You may revise this to whatever you want; the underlying link will still be correct.