bcosca/PHP-Fat-Free-Framework — Issue #1: Issue in using PHP code in tempate
Author: sidchilling
Created: 2012-02-21 14:25:57+00:00
State: open

It seems that one cannot mix F3 tags and PHP code within templates. You've to use one or the other. If you want to use F3 tags in the template, you have to use -

Template::serve()

and if you want to use PHP code in the template then you have to use -

F3::render()

This is a serious limitation. I don't see why this should be this way. I have used Mako for instance and in that one can freely mix native Python code as well as Mako templating code in the template file.