Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

Notice field

This field can be used for displaying notices and information.

Notice Form-Engine field

Definition

$table = 'tx_crm_domain_model_activityunit';
$lll = 'LLL:EXT:crm/Resources/Private/Language/locallang_db.xlf:' . $table;
return [
   'columns' => [
        'notice' => [
            'label' => $lll . '.notice',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'notice' => 'This is a simple text notice. This text is written within the TCA file itself. Such notice fields don\'t need a field in the database.',
            ]),
        ],
        'notice_lll' => [
            'label' => $lll . '.notice_lll',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'notice' => $lll . '.notice_lll_text',
            ]),
        ],
        'notice_danger' => [
            'label' => $lll . '.notice_danger',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'html' => '<i><b>Notice</b> danger</i>',
                'display' => 'danger',
            ]),
        ],
        'notice_warning' => [
            'label' => $lll . '.notice_warning',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'html' => '<i><b>Notice</b> warning</i>',
                'display' => 'warning',
            ]),
        ],
        'notice_info' => [
            'label' => $lll . '.notice_info',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'html' => '<i><b>Notice</b> info</i>',
                'display' => 'info',
            ]),
        ],
        'notice_success' => [
            'label' => $lll . '.notice_success',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'html' => '<i><b>Notice</b> success</i>',
                'display' => 'success',
            ]),
        ],
        'notice_code' => [
            'label' => $lll . '.notice_code',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('notice', false, false, '', [
                'html' => '<i><b>bold italic</b> only italic</i>',
                'display' => 'code',
            ]),
        ],
    ],
];
Last change: 2026-04-13
Documentation
TYPO3 Additional-TCA Extension

TYPO3 Additional-TCA by coding.ms

The TYPO3 Additional-TCA Extension keeps TCA configurations clean and maintainable. It provides reusable methods for tab labels and common fields such as language and visibility, plus practical Form Engine fields for currency, percent, time, weight, phone numbers, notices, date and datetime values, badge suggestions, and collapsible textareas.

Menu

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
7Q8_________57I______
2_J____6____P_2___2G7
61O___W1Z___9QS______
4_5____W______F___84R
CQ5_________XPR______