CakePHP 3/4 File Manager for CKEditor with Roxy Fileman


ckeditor with roxy filemanager



Create plugins directory in your webroot directory.




Download CKEditor 4

Extract CKEditor inside webroot/plugins directory.




Download latest Roxy Fileman 

Extract Roxy Fileman inside webroot/plugins  directory.




Create uploaded directory inside webroot directory. This is the folder which can be browsed and where the new files will be uploaded.




Edit Roxy Fileman conf.json to finish your setup. Below configuration is based the directories we created. Set configuration option INTEGRATION to "ckeditor". 






In your view/template add an element that CKEditor should replace:
    


Load CKEditor.




Set these options when initializing CKEditor. All must point to index.html in the Fileman's installation directory.



If you encounter this issue E_LoadingAjax /plugins/fileman/php/dirtree.php



Comment verifyAction content in your functions.inc.php





Comments