[TYPO3-mvc] how to access flexform configuration within extbase plugin?
Dennis Ahrens
dennis.ahrens at googlemail.com
Thu Mar 15 15:44:42 CET 2012
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