FileBrowser
A multi-purpose filebrowser. This is initially intended to be a CKEditor file browser plugin but can be easily adapted to integrate with TinyMCE among others.
Demo with CKEditor
See here a demo.
Installation
With CKEditor
-
Download and enable the FileBrowser plugin which is inside
ckeditor/plugins/
:// plugin namevar browser_plugin = 'filebrowser_upload';// path to pluginvar plugin_path = 'http://example.com/ckeditor/plugins/'// add it to CKEditorCKEDITORplugins;// instantiate CKEditorvar ckeditor = CKEDITOR; -
Instantiate FileBrowser with some options and tell it about which is your CKEDITOR instance:
var browser =root_http: 'http://example.com/server-side/writable'server_http: 'http://example.com/server-side/filebrowser.php';// ckeditor == instanceof CKEDITORbrowser;// this is a must// it is a global function which is expected by FileBrowser pluginwindow{browser;}; -
Download
server-side/*.php
and adjust according to your needs
Notes
OK, I admit, this documentation is a bit incomplete, but we will get there.