[TYPO3-50-general] different methods in template-engines

Irene Höppner irene.hoeppner at abezet.de
Sun Dec 21 11:37:37 CET 2008


Hi all,

I just realized that you have to use different methods to assign the 
model to a view in Smarty and in Fluid.

Smarty: $this->view->assign('posts', $posts);
Fluid: $this->view->addVariable('posts', $posts);

That means, if you just want to use a different template engine, you 
might need to do many changes in the controller as well.

Maybe it makes sense to unify this?

Merry Christmas to all of you!

Greets,
Irene


More information about the TYPO3-project-5_0-general mailing list