[TYPO3-mvc] Using addToInsertRecords (insert record content element) with Extbase

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri Jan 21 16:03:24 CET 2011


Franz Koch wrote:
>
> AFAIK there is no default functionality in extbase that would do this
> for your. You have to add the needed logic to your controller yourself
> (which shouldn't be a big deal though, but never tried it).
>
> 1) you might want to define a specific action that should be used for
> rendering a record via the "insertRecord" feature or add a flag in your
> settings you use to check for that purpose
> 2) You have to fetch the related record from the repository yourself

Hello Franz!

Thanks a lot for your fast reply.

With the help of your code example I should
be able to get this running then. I'll have
a look and will report any success or failure. ;o)

All the best,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list