I'm going to release 1.2.0 soon.

I've created tool that can scan all PHPTAL templates and look for errors:

1. Install latest PHPTAL beta (or check it out from SVN)
2. Run from command line:

php phptal_lint.php /path/to/your/templates/

There are known problems with the lint tool:
• it doesn't understand custom TALES modifiers, so it will wrongly report them as errors (custom modifiers are OK in PHPTAL 1.2, just phptal_lint.php isn't perfect yet)
 • same with prefilters
• templates need to use one of .xml/xhtml/html/zpt/tal/tpl file extensions.

regards, Kornel

PHPTAL mailing list

Reply via email to