I really needed a file and image manager plugin for tinyMCE. As most of you know the official tinyMCE file manager isn't free so after a few searches i ran over Archiv.
Archiv is a very nice and free image manager. You can find the official website here.
The plugin is easy to integrate but a little tricky to configure. There are 2 places where you need to edit:
1) The tinyMCE init function where you'll have to add:
tinyMCE.init({
mode : “textareas”,
theme : “advanced”,
plugins : “Archiv”,
Archiv_settings_file : “/abs/path/to/config.php”,
theme_advanced_buttons1_add :
“Archiv_files,Archiv_images”
});
2) The config file of the plugin in which the paths are required to be full paths not relative but i've tricked them like this:
# full path to upload files to and show files from
'upload_path' => $_SERVER['DOCUMENT_ROOT']. 'uploaded/',
# full URI to upload directory
'upload_uri' => 'http://'. $_SERVER['HTTP_HOST']. '/uploaded/',
This should get you up and running. Tune the rest of the config options to suit your needs and enjoy this
wonderful plugin. Many thanks to the authors.
