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.
Updated by Frans Saris about 5 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.
Updated by Christoph Schwarzenberg over 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