Hallo Ralf, 

aus einer meiner Extensions; die entscheidende Zeile ist die hier: 

        'types' => array(
                '0' => array('showitem' => 'sys_language_uid;;;;1-1-1, 
l10n_parent, l10n_diffsource, hidden;;1, title;;;;2-2-2, image, url,
                
--div--;LLL:EXT:jff_main/locallang_db.xml:tx_jffmain_partner.tabs.second, 
description;;;richtext[]:rte_transform[mode=ts];3-3-3')
        ),


Am ende der tca-Defintion wird in "types" definiert, welches Feld wie im 
Backend angezeigt wird. Wenn hier der Eintrag 

 description;;;richtext[]:rte_transform[mode=ts]

fehlt, wird das Feld als normales Textfeld gezeigt. 

Gruß
Peter



Am 27.01.2013 um 13:07 schrieb Ralf-Rene Schröder <ralf.r...@online.de>:

> Hallo
> 
> was ist notwendig um ein Feld nachträglich als RTE Feld zu definieren ?
> ich kann leider den Kickstarter wegen diverser Anpassungen dort nicht
> mehr benutzen...
> 
> in einer anderen tabelle hatte der Kickstarter für ein RTE Feld
> folgendes angelegt:
> __________________________________________________________________________________________________
> 
> in der ext_localconf.php
> 
> t3lib_extMgm::addPageTSConfig('
> RTE.config.tx_myext_mytable.bodytext {
>  hidePStyleItems = H1, H6
>  proc.exitHTMLparser_db=1
>  proc.exitHTMLparser_db {
>    keepNonMatchedTags=1
>    tags.font.allowedAttribs= color
>    tags.font.rmTagIfNoAttrib = 1
>    tags.font.nesting = global
>  }
> }
> ');
> 
> und in der tca.php für das table tx_myext_mytable
> 
> 'bodytext' => array (         
>       'exclude' => 0,         
>       'label' => 'LLL:EXT:myext/locallang_db.xml:tx_myext_mytable.bodytext',  
>         
>       'config' => array (
>               'type' => 'text',
>               'cols' => '30',
>               'rows' => '5',
>               'wizards' => array(
>                       '_PADDING' => 2,
>                       'RTE' => array(
>                               'notNewRecords' => 1,
>                               'RTEonly'       => 1,
>                               'type'          => 'script',
>                               'title'         => 'Full...',
>                               'icon'          => 'wizard_rte2.gif',
>                               'script'        => 'wizard_rte.php',
>                       ),
>               ),
>       )
> ),
> __________________________________________________________________________________________________
> 
> wenn ich aber nun entsprechendes (nur eben angepasst auf eine andere
> Tabelle und Feld) einfüge, dann klappt das nicht... WAS FEHLT NOCH ?
> __________________________________________________________________________________________________
> 
> in der ext_localconf.php
> 
> t3lib_extMgm::addPageTSConfig('
> RTE.config.tx_myext_myothertable.description {
>  hidePStyleItems = H1, H6
>  proc.exitHTMLparser_db=1
>  proc.exitHTMLparser_db {
>    keepNonMatchedTags=1
>    tags.font.allowedAttribs= color
>    tags.font.rmTagIfNoAttrib = 1
>    tags.font.nesting = global
>  }
> }
> ');
> 
> und in der tca.php für das table tx_myext_myothertable
> 
> 'description' => array (              
>       'exclude' => 0,         
>       'label' =>
> 'LLL:EXT:myext/locallang_db.xml:tx_myext_myothertable.description',           
>       'config' => array (
>               'type' => 'text',
>               'cols' => '30',
>               'rows' => '5',
>               'wizards' => array(
>                       '_PADDING' => 2,
>                       'RTE' => array(
>                               'notNewRecords' => 1,
>                               'RTEonly'       => 1,
>                               'type'          => 'script',
>                               'title'         => 'Full...',
>                               'icon'          => 'wizard_rte2.gif',
>                               'script'        => 'wizard_rte.php',
>                       ),
>               ),
>       )
> ),
> __________________________________________________________________________________________________
> 
> -- 
> image[FORMAT] - Ralf-René Schröder
> http://image-format.eu ... Wir geben Ihrem Image das richtige Format
> http://if-20.com  ... YAML templates for TYPO3
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

--
Xing: http://www.xing.com/profile/Peter_Linzenkirchner
Web: http://www.typo3-lisardo.de
Facebook: http://tinyurl.com/lisardo-multimedia

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an