[TYPO3-mvc] extending news

Georg Ringer typo3 at ringerge.org
Wed Nov 16 07:26:05 CET 2011


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


More information about the TYPO3-project-typo3v4mvc mailing list