Re: New looping method proposal
| From: | Andreas Kossmeier | Date: | Mon, 19 Nov 2001 10:20:34 +0000 |
| Subject: | Re: New looping method proposal | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1945@lists.php.net to get a copy of this message | ||
Ivo Jansch wrote:
> But this is a personal thing. How do the other template editors on
> this list think about this? If there's more than just me, I can have
> a look at implementing it.
i've to fully agree with Ivo.
in 9 out of 10 cases you do not need the ability of nesting sections.
a foreach tag would be much more understandable for template editors. i
asked myself a couple of times, why i have to access variables over a
section name for such simple tasks, like looping through a single 2-dim
assoc. data array.
andreas
--
andreas kossmeier
bergfex.at - http://www.bergfex.at