Completely Responsive Filemanager with integration for tinyMCE and Silex backend
Based on (https://github.com/trippo/ResponsiveFilemanager), (*1)
and see author repo (https://github.com/Kingtreemonkey/FileManager), (*2)
Copy config file to config dir and add to project in app.php, (*3)
``` php $app['FileManager'] = function() { return require (__DIR__.'/../config/'."tinymce_filemanager.php"); };, (*4)
Add ControllerProvider ``` php $app->mount('/filemanager', new \Rabies\FileManager\FileManagerControllerProvider());
Copy Templates folder to Your twig templates dir, (*5)
copy plugin file to tinymce plugin folder, (*6)
add responsivefilemanager to plugin list and buttons list in tinyMCE init, (*7)
add path to file manager and title, (*8)
external_filemanager_path:"/filemanager", filemanager_title:"Responsive Filemanager"
for example, (*9)
tinymce.init({ selector: '.wysiwyg', language: 'en', browser_spellcheck: true, theme: 'modern', plugins: [ 'advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visualchars code fullscreen', 'insertdatetime media nonbreaking save table contextmenu directionality', 'emoticons template paste textcolor colorpicker textpattern imagetools localautosave responsivefilemanager' ], toolbar1: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent ', toolbar2: 'print preview | fontsizeselect forecolor backcolor emoticons | link media image responsivefilemanager | localautosave', relative_urls: false, image_advtab: true, external_filemanager_path:"/filemanager", filemanager_title:"Responsive Filemanager" });