Feature #68895
closedAdd `options.defaultUploadFolder` to PageTSconfig
100%
Description
Adding 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.
Having 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 Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42470
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42470
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42470
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Frans Saris almost 9 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 Gerrit Code Review almost 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42470
Updated by Gerrit Code Review almost 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42470
Updated by Gerrit Code Review almost 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42470
Updated by Frans Saris almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f54e28559d059495f46f3565bdfa06e68e518d85.
Updated by Christoph Schwarzenberg over 7 years ago
Hi,
I wanted to use this feature in my setup, but it doesn't seem to work.
Setting 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
Christoph
Updated by Stephan Großberndt over 7 years ago
The patch which closed this issue added only a hook making it possible to change the path but not a pagetsconfig option.
Updated by Christoph Schwarzenberg over 7 years ago
Ok.
Is it possible to add this feature, as Artus Kolanowski described it above?
Updated by Frans Saris over 7 years ago
We created an extension that uses the hook and supplies more or
less this feature https://github.com/beechit/default_upload_folder/
Updated by Christoph Schwarzenberg over 7 years ago
Great, thank you very much.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed