Feature #84250
closedSeparatly enable / disable "Add media by URL" and "Select & upload files"
100%
Description
The BE buttons ("Add media by URL" and "Select & upload files") for a FAL field can currently only be enabled / disabled at once:
TCEFORM.mytable.config.appearance.fileUploadAllowed = 1
It would be nicer to individually enable / disabled them per button. For example by three separate settings:
TCEFORM.mytable.config.appearance.fileBrowseAllowed = 1|0
TCEFORM.mytable.config.appearance.fileSelectAndUploadAllowed = 1|0
TCEFORM.mytable.config.appearance.fileAddMediaByUrlAllowed = 1|0
Files
Updated by Riccardo De Contardi about 6 years ago
- Related to Bug #72605: InlineControlContainer unnecessary dependency causes Problems added
Updated by Florian Rival about 6 years ago
I think this feature is missing, it should be possible to hide separately the two buttons.
As a workaround, you can add the following backend css :
To hide "Select & Upload file" :
.inlineNewFileUploadButton {
display: none !important;
}
To hide "Add media by URL" (not tested) :
.t3js-online-media-add-btn {
display: none !important;
}
Updated by Gerrit Code Review over 5 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/60752
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60752
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60752
Updated by Gerrit Code Review over 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60752
Updated by Gerrit Code Review over 5 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60752
Updated by Gerrit Code Review about 5 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60752
Updated by Philipp Parzer about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c2cb3e871fec107e2693ca03a324c864631eabbb.
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed
Updated by Lorenz Ulrich almost 5 years ago
- File typo3-cms-separately-enable-disable-add-media-by-url-and-select-upload-files.patch typo3-cms-separately-enable-disable-add-media-by-url-and-select-upload-files.patch added
I attached a patch for TYPO3 8.7 for those in need. Can be applied through composer-patches.