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

Popular posts from this blog

CakePHP: COUNT data and GROUP BY date

CakePHP 4: Firebase Cloud Messaging Component in CakePHP for Push Notification

CakePHP 4 : Using Component inside Command ( Shell )