Re: [PHPTAL] pre filters on macros/slots

2009-01-27 Thread Kornel Lesiński
On 26-01-2009 at 17:35:34 admirau wrote: Is there a chance to run PREFilter on macro or slot? In my PreFilter I load $xhtml into PHP DOM and do recursive walking on all text nodes. When I run it as PreFilter on the template with macros/slots nothing happens. The same as PostFilter, or PreF

Re: [PHPTAL] default macro file

2009-01-27 Thread Kornel Lesiński
On 26-01-2009 at 19:53:39 Levi Stanley wrote: admirau: class MyTemplateFramework extends PHPTAL { private $default_macro_file; public function setDefaultFile($default_macro_file){ $this->default_macro_file; } public function executeMacro($path){ if (preg_match

Re: [PHPTAL] default macro file

2009-01-27 Thread Levi Stanley
Sweet, that is even better. Best regards, Levi Stanley Kornel Lesiński wrote: > On 26-01-2009 at 19:53:39 Levi Stanley wrote: > >> admirau: >> >> class MyTemplateFramework extends PHPTAL { >> private $default_macro_file; >> public function setDefaultFile($default_macro_file){ >>$