Documentation

 

Location of uploaded files

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 "[C5-DIR]/packages/file_tree/blocks/file_tree" to "[C5-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 "[C5-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.