Actions
Bug #84715
closedMake tt_content.file_collections an exclude field
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?
Updated by Georg Ringer over 6 years ago
- Status changed from New to In Progress
- Assignee set to Georg Ringer
Updated by Gerrit Code Review over 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
Updated by Frans Saris over 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;
Updated by Georg Ringer over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ca1c88c2df4e8d7929c67e5487b24ac5478e8e45.
Actions