[TYPO3-mvc] Feature request for Fluid: add contentObjectData by default

Georg Ringer mail at ringerge.org
Mon Sep 12 07:21:13 CEST 2011


Am 09.09.2011 17:03, schrieb Bastian Waidelich:

> Alternatively you could create an abstract basecontroller (which is
> always a good idea) and pass it to the view yourself by overriding the
> initializeView() method:
>
> protected function initializeView(Tx_Extbase_MVC_View_ViewInterface
> $view) {
> $view->assign('contentObjectData',
> $this->configurationManager->getContentObject()->data);
> }

I did it now this way, thanks a lot ;)

Georg


More information about the TYPO3-project-typo3v4mvc mailing list