Project

General

Profile

Actions

Feature #84250

closed

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

Added by Jan Kornblum over 6 years ago. Updated almost 5 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Riccardo De Contardi about 6 years ago

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

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;
}
Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

Updated by Philipp Parzer about 5 years ago

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

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF