Bug #84715

Make tt_content.file_collections an exclude field

Added by Sergio Catalá about 1 year ago. Updated 7 months ago.

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

100%

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?

Associated revisions

Revision ca1c88c2 (diff)
Added by Georg Ringer about 1 year ago

[TASK] Set exclude property for fields of tt_content

The exclude property is set for the following fields in the
table tt_content:

- file_collections
- filelink_size
- filelink_sorting
- filelink_sorting_direction

Resolves: #84715
Releases: master
Change-Id: I626d86d4f4f632f6c1c65e177672563a55e96663
Reviewed-on: https://review.typo3.org/56662
Tested-by: TYPO3com <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>

History

#1 Updated by Georg Ringer about 1 year ago

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

#2 Updated by Gerrit Code Review about 1 year 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 about 1 year 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 about 1 year ago

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

#5 Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF