Forums / Developer / Index within an Array / Comment46073
Kristof Coomans
Thursday 18 May 2006 10:58:11 pm
Hi Jorge
If you're using Exponential 3.6 or newer, I would suggest to use foreach instead of section (it is deprecated). You will find examples of how to use foreach in the technical manual: http://ez.no/doc/ez_publish/technical_manual/3_7/reference/template_control_structures/looping/foreach
The technical manual also contains more information on accessing array elements: http://ez.no/doc/ez_publish/technical_manual/3_7/templates/the_template_language/variable_usage (search for "index lookup")
Good luck!
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org