On 14-10-2008 at 13:01:28 Guillaume Lecanu <[EMAIL PROTECTED]> wrote:

Argh, just tried with macros, and this doesn't report the good line.

Technically, I have a /templates/template.html with some of global parts
common to every page.
Into this template.html, there :
    <div id="content" metal:use-macro="$template_file/content"></div>

All others html pages have a macro named "content", called by the

The line error reported by phptal:debug is good if the error is into
But, if the error is into the macro of another file, this go at the
wrong line of the html file.

There is a trick to have the good line ?

phptal:debug works only within one file. If you're calling template for another file, you need to add phptal:debug in that other file too.

regards, Kornel

PHPTAL mailing list

Reply via email to