[TYPO3-mvc] extending news
Roland
most.wanted at gmx.at
Wed Nov 16 20:18:40 CET 2011
Georg Ringer <typo3 at ringerge.org> wrote:
> Hi,
>
> Am 15.11.2011 22:14, schrieb Roland:
>>> [1]
>>> http://forge.typo3.org/projects/typo3v4-mvc/wiki/Implementation_of_mixinsextendable_domain_models
>>
>> --- quote ---
>> b) custom viewHelper fetching addon objects
>> One workaround would be to use "addon objects" and assign those to your
>> view using a custom viewHelper that fetches the related "addon object" from
>> a repository. While this works fine to just render the related properties,
>> it'll be a bit more work on the controller side if you like to make use of
>> FE editing of the foreign extension (you would need to override the default
>> controller with a custom/extended version using DI)
>> --- /quote ---
>>
>> how do you relate this addon objects in the TYPO3 backend? can the
>> properties be editable right within the form of the original object?
>
> if you mean with backend the normal tceforms, then the fields are there
> as well and you can edit those there as you like. in the frontend, you
> would write a viewhelper and got the uid as argument which allows you to
> fetch any other content from the table
>
> georg
yes. good to hear.
what steps are necessary to get thos work this way? can you kickstart a
model with one object and then do some magic TCA configuration of this
object to make it an "addon object"?
kind regards.
roland
More information about the TYPO3-project-typo3v4mvc
mailing list