Feature #68895
closed
Add `options.defaultUploadFolder` to PageTSconfig
Added by Artus Kolanowski over 9 years ago.
Updated over 7 years ago.
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.
- 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
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
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
- Target version changed from 7.5 to 7 LTS
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.
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
The patch which closed this issue added only a hook making it possible to change the path but not a pagetsconfig option.
Ok.
Is it possible to add this feature, as Artus Kolanowski described it above?
Great, thank you very much.
- Status changed from Resolved to Closed
Also available in: Atom
PDF