Share » Forums » Developer » Index within an Array

Index within an Array

Index within an Array

Thursday 18 May 2006 9:15:26 am - 1 reply

Author Message

Kristof Coomans

Thursday 18 May 2006 10:58:11 pm

Hi Jorge

If you're using eZ publish 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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu