[TYPO3-mvc] Overwriting TCA (fe_users)

Florian Staudacher florian_staudacher at yahoo.de
Fri Jul 9 13:19:34 CEST 2010


> > $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


Thank you very much, 
that seems to have done it.

It would be really nice to have more documentation on TCA in combination with 
extbase, especially on the topic of one-to-many and many-to-many relations ... 
but for now I'm happy.

Florian


More information about the TYPO3-project-typo3v4mvc mailing list