Feature #84250

Separatly enable / disable "Add media by URL" and "Select & upload files"

Added by Jan Kornblum over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Start date:
2018-03-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

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


Related issues

Related to TYPO3 Core - Bug #72605: InlineControlContainer unnecessary dependency causes ProblemsClosed2016-01-08

Actions
#1

Updated by Riccardo De Contardi almost 3 years ago

  • Related to Bug #72605: InlineControlContainer unnecessary dependency causes Problems added
#2

Updated by Florian Rival almost 3 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;
}
#3

Updated by Gerrit Code Review over 2 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

#4

Updated by Gerrit Code Review over 2 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

#5

Updated by Gerrit Code Review over 2 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

#6

Updated by Gerrit Code Review over 2 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

#7

Updated by Gerrit Code Review about 2 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

#8

Updated by Gerrit Code Review about 2 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

#9

Updated by Philipp Parzer about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#10

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF