[TYPO3-english] Override TCA of specific cType
Mikel
lists at con-version.com
Wed Jul 1 13:28:50 CEST 2015
Hi there,
I created a new palette for a new content element based on TYPO3 defaults.
// flexform for pi_flexform field
$GLOBALS['TCA']['tt_content']['types']['simple_link']=array(
'showitem'=>'--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;simple_link_header,
bodytext;Text unterhalb ,
--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
);
How can I override the TCA for a specific field? I want to customize the
field "bodytext" without customizing it for every cType.
Like this. But how can I extend the array to work just for the new
content type?
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']=array(
tcaconfig
);
More information about the TYPO3-english
mailing list