[Typo3] T3DataStructure and radio

Jean-Baptiste Rio triphot69 at hotmail.com
Thu Sep 15 14:03:57 CEST 2005


Ismael BIDAU wrote:
> In an extension, I try to use flexforms.
> So in TCA.php I have :
>         'commentaire' => Array (
>             'exclude' => 1,
>             'label' =>  
> 'LLL:EXT:events/locallang_db.php:tx_events_list_etudiant_mm.commentaire',
>             'config' => Array (
>                 'type' => 'flex',
>                 'ds' => array(
>                 'default' => '
>                     <T3DataStructure>
>                       <meta>
>                         <langDisable>1</langDisable>
>                       </meta>
>                       <ROOT>
>                         <type>array</type>
>                         <el>
>                         <ecole_agence>
>                             <TCEforms>
>                                 <label>Type de stage : </label>
>                                 <config>
>                                     <type>radio</type>
>                                     … ???
> 
> I read  
> http://typo3.org/documentation/document-library/doc_core_api/columns_fieldnam-10/  
> to understand flexforms.
> My problem is to use radio and select type. Anybody for helping me, 
> please  ?
> 
> 

Hi,

a good way to help you, is to use TemplaVoila backend module, create an 
Flexible Content which is what you want to have. Once it's ready, copy 
the DS xml code to your flex file.

And pay attention to french accents, it may cause some trouble depending 
on the TV version, i have the problem with the last version. Maybe if 
you just start a new installation of Typo3, move all your install to 
utf-8 instead of french charset, if you didn't do it.

Cordialement,

Jean-Baptiste



More information about the TYPO3-english mailing list