Bug #84715

Make tt_content.file_collections an exclude field

Added by Sergio Catalá over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Could have
Assignee:
Category:
-
Target version:
-
Start date:
2018-04-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Would it be possible to make the field "tt_content.file_collections" an "exclude" field to disable such feature for backend editors?

#1

Updated by Georg Ringer over 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Georg Ringer
#2

Updated by Gerrit Code Review over 3 years ago

  • Status changed from In Progress 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/56662

#3

Updated by Frans Saris over 3 years ago

If you want this change in a <= 8.7 installation you can do this easily by overriding the TCA.

Create a extension (or add this to your site extension) with a file Configuration/TCA/Overrides/tt_content.php and add the following snippet there:


<?php
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}

$GLOBALS['TCA']['tt_content']['columns']['file_collections']['exclude'] = true;
$GLOBALS['TCA']['tt_content']['columns']['filelink_size']['exclude'] = true;
$GLOBALS['TCA']['tt_content']['columns']['filelink_sorting']['exclude'] = true;
$GLOBALS['TCA']['tt_content']['columns']['filelink_sorting_direction']['exclude'] = true;

#4

Updated by Georg Ringer over 3 years ago

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

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF