Re: [SMARTY-DEV] Problem with counter and print="false"
| From: | messju mohr | Date: | Wed, 21 Jan 2004 11:09:23 +0000 |
| Subject: | Re: [SMARTY-DEV] Problem with counter and print="false" | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2051@lists.php.net to get a copy of this message | ||
On Wed, Jan 21, 2004 at 11:21:03AM +0100, Katana wrote:
> >the question is "since when"? i dont't think what you describe
> >wouldn't work with 2.4 or 2.5 either.
> I'm sure it works with 2.5 since as soon as I move the used version back
> to 2.5 everything works perfectly. And it has been working since a long
> while since lots of the concerned templates were developed more than one
> year ago, and we've been upgrading smarty regularly.
>
> Katana
i think the problem is not because "false" is passed as a literal
string (it's always been this way), but is caused by another change in
the behaviour of counter (i remember there was something regarding the
assign-attribute).
can you post (or send me) an example loop, that works for you in 2.5.0
but not in 2.6.0?
as a test you can also copy function.counter.php from the 2.5.0
distribution in your 2.6.0-plugins-dir. i guess you counters would
work then.
greetings
messju