I'm going to release 1.2.0 soon.

I've created tool that can scan all PHPTAL templates and look for errors:
https://svn.motion-twin.com/phptal/trunk/tools/phptal_lint.php

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
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to