Hi.
What kind of events / hooks does CKFinder support? Something like onRename, onDelete and onUpload when they fire successfully? Also something for file being moved from folder to folder or folder renaming are both important to keep URLs for already input images working. I cant find the documentation site, derp.
Serverside would be nice but JS events are good enough. Also, JS wouldn't be so hard to implement in CKF if they are not there already (why not?). I could build a backend ajax handler for JS events easy but I just need to know when they execute. At minimum looking for something like this (syntax doesn't matter):
CKFinder.on('delete', function('path') {
// Fire my backend AJAX onDelete logic here, notify the user based on JSON response
});
I need to post-process things on each of these events, such as edit grayscale JPGs to regular gray JPGs onUpload, update paths onMove and replace with placeholders & inform the user where that file was being used onDelete - or even validate beforeDelete that the file is not used. Stuff like that, kind of important.
Sutff like this should be really easy to implement, right? Is CKF in gitHub yet?
CKFinder isn't open source,
CKFinder isn't open source, so no github. You can always experiement with it. The demo doesn't have a limited trial period and all functions (except file copying) are fully functional, so you can play around with it until you are satisfied. API is here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Open source
Ach, no wonder I was having a diffucult time finding the source :) Why not open?
Why not? Make the JS side public! Users can't really extend it other than using the plugin system which is in my opinion a little... cumbersome. Hooking into JS events would make such an easy task out of extending or post-processing content!
Additionally
Additionally, when I downloaded the ckfinder_aspnet_2.4.zip, it contains all the .cs source files and the csproject that generate the asp.net connector - but not for the JavaScript file! Is this security through obscurity? Or why would it be like this that the part that is easiest to extend and hardest to hide is the one that's the most difficult to actually interpret?
Sorry to whine, but this small desicion to minify the JS and to keep it closed in that way is limiting CKFinder in it's potential in my opinion.
Someone answered me.
I asked this on StackOverflow and someone actually found a very nice solution that at least to me was not obvious from the API.
http://stackoverflow.com/questions/19539233/how-to-create-a-post-rename-or-post-delete-event-hook-for-ckfinder