Skip to content

christianbaer/TYPO3-simplefilebrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

TYPO3-simplefilebrowser

This is a fork of Patrick Lobachers EXT:simplefilebrowser to add the functionality of multiple plugins on one page.

The problem

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'.

The solution

  1. via Typoscript you have to set a root-folder
  2. the path is always added as a parameter to the links
  3. the security-check is slightly adjusted: Is file in root-folder?

Usage

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).

About

Fork of Patrick Lobachers EXT:simplefilebrowser to add functionality of multiple plugins on one page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages