[TYPO3-mvc] Connecting 2 objects results in blank output...
Henjo Hoeksma
me at henjohoeksma.nl
Tue Sep 7 14:51:20 CEST 2010
On 2010-09-07 14:44:20 +0200, Felix Oertel said:
> Hey,
>
> we have to know the TCA of the mentioned field. Most likely there is an
> error with that.
>
> Do you want to attach more then one address and have a MM-relation?
> Otherwise the field is not annotated ObjectStorage but
> Domain_Model_Address.
>
> regards, foertel
Hi Felix,
thanks for your response. I did a test working with it and everything
worked fine, but I can't seem to get it to work and feel a little lost
here :-(
My TCA , extending the fe_user tca is:
'addresses' => array(
'exclude' => 1,
'label' =>
'LLL:EXT:rm_community_user/Resources/Private/Language/locallang_db.xml:tx_rmcommunityuser_domain_model_user.addresses',
'config'
=> array(
'type' => 'inline',
'size'
=> '5',
'multiple' => 1,
'foreign_table' => 'tx_rmcommunityuser_user_address_mm',
'foreign_field' => 'uid_local',
'foreign_selector' => 'uid_foreign',
'foreign_sortby' => 'sorting',
'foreign_label' => 'uid_foreign',
'foreign_unique' => 'uid_foreign',
'appearance' => array(
'useCombination' => 1,
'useSortable' => 1,
'collapse' => 1,
'expandSingle' => 1,
'newRecordLinkPosition' => 'bottom',
),
'maxitems' => 9999
)
),
What do you mean with:
>
> Do you want to attach more then one address and have a MM-relation?
> Otherwise the field is not annotated ObjectStorage but
> Domain_Model_Address.
?
Thanks again,
Henjo
More information about the TYPO3-project-typo3v4mvc
mailing list