[TYPO3-mvc] how to access flexform configuration within extbase plugin?

Roland most.wanted at gmx.at
Thu Mar 15 15:55:56 CET 2012


hi dennis,

it works - thank you VERY much for your help!

kind regards

roland



Am 15.03.12 15:44, schrieb Dennis Ahrens:
> Hi Roland,
>
> On 15.03.2012 15:28, Roland wrote:
>> i guess the question is not "how to access felxform configuration" (this
>> seems to work) but "how to use this configuration value in the
>> $this->view->assign() method!
>
> You get the uid of the record from the flexform. If you want to access
> the object inside your view, you need to fetch it from the related
> repository and assign the object to the view.
>
> $this->view->assign('album',
> $this->albumRepository->findByUid($this->settings['album']));
>
> regards
> Dennis
>



More information about the TYPO3-project-typo3v4mvc mailing list