TYPO3  7.6
t3editor/Configuration/TCA/Overrides/sys_template.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // Activate t3editor for sys_template constants
5 if (is_array($GLOBALS['TCA']['sys_template']['columns']['constants']['config'])) {
6  $GLOBALS['TCA']['sys_template']['columns']['constants']['config']['renderType'] = 't3editor';
7  $GLOBALS['TCA']['sys_template']['columns']['constants']['config']['format'] = 'typoscript';
8 }
9 
10 // Activate t3editor for sys_template config
11 if (is_array($GLOBALS['TCA']['sys_template']['columns']['config']['config'])) {
12  $GLOBALS['TCA']['sys_template']['columns']['config']['config']['renderType'] = 't3editor';
13  $GLOBALS['TCA']['sys_template']['columns']['config']['config']['format'] = 'typoscript';
14 }