Re: [SMARTY] postfilter.lanf.php (multilanguage plugin)
| From: | messju mohr | Date: | Mon, 31 Mar 2003 22:18:46 +0000 |
| Subject: | Re: [SMARTY] postfilter.lanf.php (multilanguage plugin) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9022@lists.php.net to get a copy of this message | ||
On Mon, Mar 31, 2003 at 05:15:55PM -0300, Ale wrote:
> For those who asked, here´s how to use the plugins with Smarty 2.5 RC2:
>
> Note that due to what I think it's a bug in Smarty, you should add the
> following line to your Smarty.class.php file for these plugins to work:
> find:
> $smarty_compiler->default_modifiers = $this->default_modifiers;
> add after:
> $smarty_compiler->compile_id = $this->_compile_id;
this is fixed in cvs. thanks.
> (this is in function _compile_template(), around line 1731 in version 2.5
> RC2, could be a different line number in other Smarty version):
>
> The plugins can be found at http://jellycan.com/lang/ , the
> readme file
> there will be updated with this very info soon.
>
> Ale.