[TYPO3-mvc] Fluid: Render custom template in current context to be able to use layouts

roberto blanko robertoblanko at gmail.com
Fri Jul 23 11:53:04 CEST 2010


>
> I haven't tested it but try to use
>
> if ($this->settings['templateName']) {
>        $this->view->setTemplatePathAndFilename('path/to/templateFile');
> }
>

Hi Tobias!

You. Are. Number. One! Thanks a lot. This works quite perfectly.

@Franz: I used to have a default template for the action anyway. Actually I
even need a default template for fallback reasons.


More information about the TYPO3-project-typo3v4mvc mailing list