Add `options.defaultUploadFolder` to PageTSconfig
options.defaultUploadFolder to PageTSconfig is useful for the following scenario:
You have a multi domain setup and each domain (root page) should have its own file mount (folder). You have an editor which has access to several of these domains. The editor uploads files mostly through the CE and not through the filelist module.
options.defaultUploadFolder in PageTSconfig allows you to setup the default upload folder for each domain separately. Whenever the editor uploads a file it will be stored in the right folder and the editor has not to care about.
[FEATURE] Introduce hook in BackendUserAuthentication::getDefaultUploadFolder
A hook is introduced to manipulate the default upload folder of FAL
inline upload and RTE text fields.
Reviewed-by: Daniel Goerz <firstname.lastname@example.org>
Tested-by: Daniel Goerz <email@example.com>
Reviewed-by: Helmut Hummel <firstname.lastname@example.org>
Reviewed-by: Frans Saris <email@example.com>
Tested-by: Frans Saris <firstname.lastname@example.org>
Reviewed-by: Wouter Wolters <email@example.com>
Tested-by: Wouter Wolters <firstname.lastname@example.org>
#5 Updated by Frans Saris over 4 years ago
After some discussion on Slack we come to the next conclusion:
To prevent we do stuff we need to drop later we now go for adding the params
$pid = NULL, $table = NULL, $field = NULL to
BackendUserAuthentication::getDefaultUploadFolder() and put a hook there so we are able to manipulate the outcome.
#10 Updated by Christoph Schwarzenberg almost 3 years ago
I wanted to use this feature in my setup, but it doesn't seem to work.
options.defaultUploadFolder in Page TSconfig has no effect.
Additionally I miss this configuration property in the official Page TSConfig: https://docs.typo3.org/typo3cms/TSconfigReference/7.6/PageTsconfig/Options/
My TYPO3 version is 7.6.16