Search code examples
phptemplate-enginetypo3-flow

PHP template with Flow3


Templating with Flow3 is done using Fluid templating language.

Is there an integrated/easy solution to use PHP templates instead? (without having to write a template renderer myself)

(to avoid misunderstandings: by PHP template I mean HTML code mixed with PHP)


Solution

  • The whole point of fluid is not to do this. You can write own viewhelpers for that.

    A fast workaround would be to write a php viewhelper which uses eval(). But that would be really bad from a security point of view.