[TYPO3-dev] default value in rtehtmlarea

Thomas Mammitzsch thomas at visualworx.de
Wed Feb 20 14:34:20 CET 2013


sorry, it works. Seems like i forgot to clear the cache.

regards, Thomas

On 20.02.2013 12:56, Thomas Mammitzsch wrote:
> 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