[TYPO3-english] RTE transformations for custom BE filed
Dmitry Dulepov
dmitry at typo3.org
Wed Feb 11 08:26:15 CET 2009
Hi!
Victor Livakovsky wrote:
> I'm trying to make an extension, wich will use RTE for editing contents
> of one of it's fileds.
> At 'ext_tables.php' I have such lines:
>
> $tempColumns = Array (
> ...
> "tx_myext_text" =>$TCA['tt_content']['columns']['bodytext'],
> ...
> );
>
> t3lib_div::loadTCA("tt_content");
> t3lib_extMgm::addTCAcolumns("tt_content",$tempColumns,1);
> ...
> $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='tx_myext_url;;;;1-1-1,
> tx_myext_text;;;richtext[paste|bold|image]:rte_transform[flag=rte_enabled|mode=css]';
Try using defaultExtras.
> Where am I wrong? And where this 'rtekeep' parameter is taken from?
This is RTE internal stuff, do not change it.
--
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")
More information about the TYPO3-english
mailing list