I'm struggling and would appreciate
any suggestions.
Am running Xampp on Windows, will eventually deploy to a *nix box, but for now I'll concentrate only on the former.
I have built my own PHP connector, which lists files from the database instead of a file listing.
I've extended the
FileManager class and overridden only the
getfolder() function. (Had to change
FileManager::get_file_info() to protected.)
All my code is under
//localhost/clients/_cms/ //localhost maps to
J:\Dev from there I have
- js/libs/ckeditor/
- js/libs/simogeo-Filemanager/
- uploads/
In
filemanager.config.php I have
$config['doc_root'] = 'J:\Dev\clients\_cms'; In
filemanager.config.js I have
var fileRoot = '/clients/_cms/uploads/'; These might seem odd, but it's what seems to (nearly) work at the moment.
This successfully lists the files from the DB, allows me to select them and returns to the Image properties dialog.
However, the path it returns is incomplete; '/uploads/test.jpg' instead of '/clients/_cms/uploads/test.jpg'
Seriously,
any help will be appreciated!