Pronichev Alexander wrote:
> I've found the answer to the second question:
> $tt->context()->define_block('NAME', $template_content);
And the answer to the first question is here:
http://tt2.org/docs/manual/Filters.html#section_eval_evaltt
e.g.
[% text | eval %]
Cheers
A