You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PHPTAL developers have accepted a pull request enabling TALES to be namespaced, but that's not yet released, so in the meantime you'll need to patch your copy of PHPTAL 1.2.2 to use the ZTal TALES and Macros.
The patch accepted onto the PHPTAL project can be viewed here, and applies to the compileToPHPExpressions function. Four backslashes need to be added the the preg_match pattern, changing it from '/^([a-z](?:[a-z0-9._-]*[a-z0-9])?):(.*)$/si' to '/^([a-z](?:[a-z0-9._\\\\-]*[a-z0-9])?):(.*)$/si'.