Project

General

Profile

Actions

Bug #91450

closed

TCA columnsOverrides don't work for label

Added by Christian Hackl almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-05-20
Due date:
% Done:

0%

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

Description

In the example below (TCA => customExt/Configuration/TCA/Overrides/tt_content.php), the "label" field within "columnsOverrides" is ignored, while the "config" array works.
The PageTs example works well too.

$colpreviewTypes = [
    'myCustomType' => [
        'showitem' => '
            ...,
            space_after_class,
            ...,
        ',
        'columnsOverrides' => [
            'space_after_class' => [
                'label' => 'Columns header size',
                'config' => [
                    'type' => 'input',
                    'renderType' => 'colorpicker',
                    'size' => 10,
                ],
            ],
        ],
    ],
];
$GLOBALS['TCA']['tt_content']['types'] += $colpreviewTypes;
TCEFORM {
    tt_content {
        space_after_class.types {
            myCustomType.label = testing
        }
    }
}

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #94029: TCA columnsOverrides does not work for all labelsClosedStefan Froemken2021-04-30

Actions
Actions

Also available in: Atom PDF