[Templates] Processing templates from variables
Pronichev Alexander
dyker@agava.com
Tue, 7 Aug 2007 17:58:56 +0400
Thanks a lot, this is what I was looking for.
On Tue, 07 Aug 2007 14:52:28 +0100
Andy Wardley <abw@wardley.org> wrote:
>AW > Pronichev Alexander wrote:
>AW > > I've found the answer to the second question:
>AW > > $tt->context()->define_block('NAME', $template_content);
>AW >
>AW > And the answer to the first question is here:
>AW >
>AW > http://tt2.org/docs/manual/Filters.html#section_eval_evaltt
>AW >
>AW > e.g.
>AW >
>AW > [% text | eval %]
>AW >
>AW > Cheers
>AW > A
--
WBR dyker
Agava Software
GPG Pub key: http://keyserver.veridis.com:11371/export?id=-3088395899858320934&created=1134482111000
ICQ: 196076228
Mobile: +7(926)144-93-86