Incompatibility to older versions again
| From: | Rainer Collet | Date: | Tue, 18 Feb 2003 17:06:50 +0000 |
| Subject: | Incompatibility to older versions again | ||
| References: | 1 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-717@lists.php.net to get a copy of this message | ||
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