Hi folks
I have implemented CKFinder into a Symfony PHP CMS that I have built. I need to extend it's use for managing a file uploads area, and then associating these files with pages in the CMS.
The rub is, if someone deletes a file via CKFinder, I want to be able to capture the delete event and call a routine to delete any references to that file in the CMS pages, otherwise there will be broken links to deleted files.
What options are available to do this? Are there Javascript events that can be wired up to make AJAX calls to delete the necessary references? Or is it a case of fiddling with the PHP connector?
Thanks!
Tawl
I have implemented CKFinder into a Symfony PHP CMS that I have built. I need to extend it's use for managing a file uploads area, and then associating these files with pages in the CMS.
The rub is, if someone deletes a file via CKFinder, I want to be able to capture the delete event and call a routine to delete any references to that file in the CMS pages, otherwise there will be broken links to deleted files.
What options are available to do this? Are there Javascript events that can be wired up to make AJAX calls to delete the necessary references? Or is it a case of fiddling with the PHP connector?
Thanks!
Tawl
Re: Hooking into delete event