TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
t3editor
Configuration
TCA
Overrides
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
}
Generated on Wed Nov 11 2015 01:52:05 for TYPO3 by
1.8.3