FileTree is a block for creating an explorer-like directory structure and letting users download files from it, and add files if permissions allow. Some features ------------- * Fully AJAX-driven. * Group permissions, you can select which groups has read and edit access. * Administer directly from the block, not from the dashboard. * Move folders around the tree with drag-and-drop. * Made to be easy to customize design and layout. The code is written with best practices and a high separation of concerns. Template files are written as just templates, not as big php code blocks. The code follows MVC and uses DI and Exception handling for best control. Unit tests for tree model are included. Files location -------------- The files are uploaded to "[CONCRETE 5 DIR]/files/file_tree", so that directory must exist for FileTree to work. When installing, it will try to create this directory. If that fails you will see a warning when adding the block to a page. Deleting a block will remove the file structure from the database but never the files themselves. Customizing layout and design (theming) --------------------------------------- If you want all blocks to have the same theme, copy the following from "[CONCRETE5 DIR]/packages/file_tree/blocks/file_tree" to "[CONCRETE5 DIR]/blocks/file_tree" view.css view.php js (folder) images (folder) If you want to use the "Custom Template" option when editing a block, copy to "[CONCRETE5 DIR]/blocks/file_tree/templates/[YOUR THEME]" instead. Then you can change these files to whatever you like. And remember to clear the cache in dashboard/settings and the browser cache if you're encountering some problems. One final note, this plugin only supports a MySQL database! Have fun and much productivity with the FileTree! Andreas Söderlund Ivento