[TYPO3-mvc] backend flexform is overwritten while extending fe_users
Jan Kornblum
jan.kornblum at gmx.de
Mon Feb 11 12:25:09 CET 2013
Hi Domi,
> I did the whole setup of my extension with the extension builder. If I click
> on any frontend user All I see is just the tab of their specific fieldset.
>
> Why is not the tab extending the model of extbase frontend user, but seems to
> overwrite it? Has someone a keyword I could look after, how to find the
> problem? The file ext_table.php looks fine to me.
I'm not sure if i understand exactly what you mean, but could it be
caused by the "types"-section in tca? for the extended fe-user
extension_builder creates a new type, and this type just gets the
additional field from the extended fe-user assigned, but not the
standard fields (like name, password, etc.) as in type[0].
$TCA['fe_users']['types']['Tx_YourModel_User']['showitem'] =
$TCA['fe_users']['types']['1']['showitem'];
Per default above there is the *new* type-array (types[1]) assigned.
I've recently changed this to...
$TCA['fe_users']['types']['Tx_YourModel_User']['showitem'] =
$TCA['fe_users']['types']['0']['showitem'];
...and after this the other items are added:
$TCA['fe_users']['types']['Tx_YourModel_User']['showitem'] .= ...
Now i've got all standard-tabs for a fe_user in BE, plus the additional
tabs for the extended model.
Regards, Jan
More information about the TYPO3-project-typo3v4mvc
mailing list