This is a fork of Patrick Lobachers EXT:simplefilebrowser to add the functionality of multiple plugins on one page.
Patricks extension is simple and brilliant, it does what it is supposed to. But in a recent project we wanted several simplefilebrowser-plugins on one TYPO3-page, which led to an error: Let's say you got three plugins, each is showing the content of a different folder. Now when you click on a file listed by the second or third plugin, the first plugin 'reacts' and denies access, becaue it says 'File is not in my folder'.
- via Typoscript you have to set a root-folder
- the path is always added as a parameter to the links
- the security-check is slightly adjusted: Is file in root-folder?
Make sure that you have the rootDirectory defined in Typoscript: plugin.tx_simplefilebrowser_pi1.rootDirectory = /path/to/typo3-installation/fileadmin/webdok/
Now you can add several Plugins on one page, each pionting to another directory (in the tree of rootDir).