Re: [SMARTY] foreach iteration
| From: | messju mohr | Date: | Tue, 29 Jul 2003 14:44:18 +0000 |
| Subject: | Re: [SMARTY] foreach iteration | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9981@lists.php.net to get a copy of this message | ||
On Tue, Jul 29, 2003 at 04:29:29PM +0200, messju mohr wrote:
> On Tue, Jul 29, 2003 at 04:13:10PM +0200, Martin Kloss wrote:
> > At 16:00 29.07.2003 +0200, you wrote:
> > >it iiiiiisssss but only in cccccccvvvvvvvvsssss! :)
> > >
> > >i know you have a checkout, so have a lot of fun with the jade- and
> > >docbook-voodoo ;)
> >
> > hmm, not good enough, can't install the cvs version on
> > the production server right now, too bad :-(
>
> no. it definately works with 2.5.0 (i suppose even older versions, but
> didn't test). the *documentation* is only in the cvs-version, but the
> functionality is quote old and stable.
addition: $smarty.foreach.[name].iteration works well with at least
smarty 2.3.0 (i don't have an older one at hand) up to 2.5.0 and cvs.
the point is you have to provide a "name"-attribute in addition to the
"from" and "item" to make it work (as i posted in another mail).
> > I have to use counter now, waiting for the next official version...
> >
> > Martin.
> >
> >
> > Martin Kloss
> > martin.kloss@triquart.de
> > Technische Direktion
> >
> > ************************
> > Triquart Neue Medien
> > Bellealliancestr.17
> > 20259 Hamburg
> > Germany
> > Tel.+49 (40)432 923-0
> > Fax +49 (40)432 923-23
> > www.triquart.de
> > www.triquart-humor.de
> > *************************
> >
> > "Lingo objektorientiert"
> > Das Buch zum Autor jetzt bestellen unter:
> > http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd
> >
> >
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php