RE: 1.4.0b1
| From: | Andreas Aderhold | Date: | Sat, 28 Apr 2001 10:33:43 +0000 |
| Subject: | RE: 1.4.0b1 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-630@lists.php.net to get a copy of this message | ||
Hi Monte,
> Has anyone tried 1.4.0b1? Any problems?
Yep. Using it here. No major problems. The prefilters are working fine -
great stuff. But I've a small problem using the filters in a subclass of
smarty. I use the subclass to tweak some settings, without touching the
Smarty Files. But registering the filtes inside the class does not work
(neither with '->' nor with '::'):
class Template extends Smarty {
...
...
function Template() {
$this->Smarty();
$this->register_prefilter("$this->_filterComments") // or
$this->register_prefilter("Template::_filterComments")
}
function _filterComments() {
....
}
}
Another Problem is that the template dir must be set "world-readable". Can't
this be avoided? I like it more to have all dirs just world-executable!?
Andi