[TYPO3-mvc] Overwriting TCA (fe_users)

Michael Feinbier mf at hdnet.de
Fri Jul 9 12:41:33 CEST 2010


Hi Florian,
Am 08.07.10 19:30, schrieb Florian Staudacher:
>
> Therefore I put this im my extension's TCA:
> ---- snip
> $tmp = array(
>    'address' =>  array(
>      'label' =>  'Address',
>      'config' =>  array(
>        'type' =>  'inline',
>        'foreign_table' =>  'tx_myext_domain_model_address',
>        'foreign_field' =>  'user',
>      )
>    )
> );

Try to add these properties:

'minitems' => 0,
'maxitems' => 9999,

to your TCA Inline configuration. As far as I remember the Extbase 
Relation parser needs this to identify it as one-to-many relation.

Hope that helps

Micha



More information about the TYPO3-project-typo3v4mvc mailing list