TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
t3editor
Configuration
TCA
Overrides
t3editor/Configuration/TCA/Overrides/tt_content.php
Go to the documentation of this file.
1
<?php
2
defined(
'TYPO3_MODE'
) or die();
3
4
// Activate t3editor for tt_content type HTML if this type exists
5
if
(is_array(
$GLOBALS
['TCA']['tt_content']['types']['html'])) {
6
if
(!is_array(
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
])) {
7
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
] = array();
8
}
9
if
(!is_array(
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
])) {
10
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
] = array();
11
}
12
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
][
'defaultExtras'
] =
'nowrap:wizards[t3editor]'
;
13
if
(!is_array(
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
][
'config'
])) {
14
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
][
'config'
] = array();
15
}
16
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
][
'config'
][
'renderType'
] =
't3editor'
;
17
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'html'
][
'columnsOverrides'
][
'bodytext'
][
'config'
][
'format'
] =
'html'
;
18
}
Generated on Wed Nov 11 2015 01:52:06 for TYPO3 by
1.8.3