[TYPO3-dev] default value in rtehtmlarea

Thomas Mammitzsch thomas at visualworx.de
Wed Feb 20 12:56:00 CET 2013


hi list,

according to the $tca reference, it should be possible to set a default 
value for text fields. I have a text field as an rte in a flexform.

                     <settings.label1>
                         <TCEforms>
 
<label>LLL:EXT:someExt/Resources/Private/Language/locallang_db.php:someExt.pi_flexform.label1</label>
                             <config>
                                 <type>text</type>
                                 <cols>30</cols>
                                 <rows>5</rows>
                                 <eval>required</eval>
                                 <default>foo - bar</default>
                             </config> 
<defaultExtras>richtext[textstyle]:rte_transform[flag=rte_enabled|mode=css]</defaultExtras>
                         </TCEforms>
                     </settings.label1>

It doesn't work. Any ideas?

regards, Thomas



More information about the TYPO3-dev mailing list