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',
            ]),
        ],
    ],
];
Documentation
TYPO3 Additional-TCA Extension

TYPO3 Additional-TCA

This extension helps you to keep your TCA tidy and easy to maintain.

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
84K_________F3O______
7______M____N_____H5U
2BH___GG4___FB2______
__F____2______4___4ZM
TY1_________GZA______