[TYPO3-mvc] more than one template for one action?

Steffen Kamper info at sk-typo3.de
Wed Jul 22 14:46:18 CEST 2009


Hi Nikolas,

Nikolas Hagelstein schrieb:
> Hi,
> 
> i dont know if i got you right but you can render any template you want:
> 
> within the controller:
> 
> $content = this->view->render('whatever');
> Return $content 
> 
> Or (ugly)
> $content = this->view->render('whatever');
> Echo $content 
> Exit;
> 


for sure the view is availabel, but $this->view is the one for the given 
action ;)

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list