[TYPO3-english] sys_file_reference field with RTE
Wolfgang Maschke
wm at wolfgang-m.de
Wed Jul 30 17:27:46 CEST 2014
Hi,
I try to get RTE enabled for the text field description in page » ressources » media. Without success.
I modified the code in sys_file_reference.php:
'description' => array(
// This is used for captions in the frontend
'l10n_mode' => 'mergeIfNotBlank',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.description',
'config' => array(
'type' => 'text',
'cols' => '20',
'rows' => '5',
'eval' => 'null',
'placeholder' => '__row|uid_local|metadata|description',
'mode' => 'useOrOverridePlaceholder',
'default' => NULL,
// this should be the part to get it work
'wizards' => array(
'_PADDING' => 4,
'_VALIGN' => 'middle',
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE',
'icon' => 'wizard_rte2.gif',
'module' => array(
'name' => 'wizard_rte'
)
)
)
)
),
Emptied BE cache, Installtool cache, PHP opcode cache
Version: Typo3 6.2.3
Any idea how to get this work?
Wolfgang
More information about the TYPO3-english
mailing list