On 28-08-2009 at 08:40:54 GRolf <ger...@pictureparking.com> wrote:

I tried that too - however, the inserted html is escaped so the < are

structure keyword prevents that:

${structure '<div>'}

How can I now best ensure that this header content is nicely parsed
into the header-slot, without having to put metal:fill-slot code in
each and every page template ?

That's one way to do it:

$phptal->page_body = $phptal->execute();

echo $phptal->execute();

and in general.xhtml have ${structure page_body}.

Another is to add <tal:block metal:use-macro="…"> using prefilter.

regards, Kornel

PHPTAL mailing list

Reply via email to