Re: {section} question
| From: | Andrei Zmievski | Date: | Wed, 28 Feb 2001 14:09:56 +0000 |
| Subject: | Re: {section} question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-235@lists.php.net to get a copy of this message | ||
On Wed, 28 Feb 2001, Joris Trooster wrote:
> Hi Victor,
>
> I spend hours to do the same thing. See my postings a few weeks ago on the list. Also Graee
> from Australia posted a question about this a few days ago. The answer is: it's not possible.
> The answer from Andrei: "Smarty first indexes by the section iterations and then by the
> associative keys (that was a design
> decision that had to be made), so you'll need to restructure the array or assign a
> separate array."
> Maybe Andrei and Monte can think about a new design to get this to work?
Maybe they can. :) Is it more common, in general, to want to index by
associative keys first and then by section iterations? We can either try
to come up with a new syntax or just switch the evaluation order around
and hope it won't break too many templates.
-Andrei
"Man, if you gotta ask, you'll never know."
- Louis Armstrong, when asked "What is jazz?"