[TYPO3-dev] Flexform ds with graphical configuration
Franz Holzinger
franz at fholzinger.com
Mon Jul 10 20:58:51 CEST 2006
Hello Elmar,
> I want to use a flexform field within an extension. That field should be
> flexible. ;-) The admin of the extension shall be able to configure it. He
> can do so by defining new ds types within the TCA.
>
> Is there an alternative to TemplaVoila to do this?
>
Have a look at the tt_products additional field how this can be done.
Greets,
Franz
------------------------
'additional' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:tt_products/locallang_db.xml:tt_products.additional',
'config' => Array (
'type' => 'flex',
'ds_pointerField' => 'additional_type',
'ds' => array (
'default' => '
<T3DataStructure>
<ROOT>
<type>array</type>
<el>
<isSingle>
<TCEforms>
<label>LLL:EXT:tt_products/locallang_db.xml:tt_products.additional.issingle</label>
<config>
<type>check</type>
</config>
</TCEforms>
</isSingle>
<isImage>
<TCEforms>
<label>LLL:EXT:tt_products/locallang_db.xml:tt_products.additional.isimage</label>
<config>
<type>check</type>
</config>
</TCEforms>
</isImage>
</el>
</ROOT>
<meta>
<langDisable>1</langDisable>
</meta>
</T3DataStructure>
',
)
)
),
More information about the TYPO3-dev
mailing list