Project

General

Profile

Actions

Bug #84715

closed

Make tt_content.file_collections an exclude field

Added by Sergio Catalá about 6 years ago. Updated over 5 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?

Actions #1

Updated by Georg Ringer about 6 years ago

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

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

Actions #3

Updated by Frans Saris about 6 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;

Actions #4

Updated by Georg Ringer about 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF