Bug #84715
closed
Make tt_content.file_collections an exclude field
Added by Sergio Catalá over 6 years ago.
Updated about 6 years ago.
Description
Would it be possible to make the field "tt_content.file_collections" an "exclude" field to disable such feature for backend editors?
- Status changed from New to In Progress
- Assignee set to Georg Ringer
- Status changed from In Progress to Under Review
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;
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF