Re: [SMARTY-DEV] Incompatibility to older versions again
| From: | Monte Ohrt | Date: | Tue, 18 Feb 2003 18:09:00 +0000 |
| Subject: | Re: [SMARTY-DEV] Incompatibility to older versions again | ||
| References: | 1 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-719@lists.php.net to get a copy of this message | ||
Committed to CVS, see if that works for you.
Monte
On Tue, 2003-02-18 at 11:06, Rainer Collet wrote:
> Hi!
>
> Except the already mentioned syntax
> {$var|mod:$obj->prop}
>
> I found some other syntaxes that worked in older versions of smarty but
> not any longer in 2.4.2
>
> {$obj->array.index}
> {$obj->array[index]} in sections
>
> And combinations of them:
>
> {$obj->array[index1].index2}
> {$obj->array.index1[index2]}
>
> etc...
>
>
> Because I use smarty in an big application already shipped to several
> customers which design their templates on their own this is a very big
> problem for me if I want to upgrade smarty from now 2.3.1 to 2.4.2. And
> this is very recommened because I use it in security-mode.
>
> Is very any possibility to make smarty again compatible to older
> version? Where can I find this in the source code? I will try to solve
> it on my own.
>
> Thanks very much,
> Rainer
--
Monte Ohrt <monte@ispi.net>