using arrays -> help needed

using arrays -> help needed

Wednesday 09 July 2003 9:29:56 am - 3 replies

Author Message

Paul Forsyth

Thursday 10 July 2003 12:57:58 am

Im not sure that you can add to arrays in this way from a template.

What kind of errors are you getting?

Jan Borsodi

Thursday 10 July 2003 6:07:30 am

The template engine does not support appending to arrays with []. Try using array append
{set new_array = $new_array|array_append($test:item)}

See the documentation for arrays for more info
http://ez.no/developer/ez_publish_3/documentation/development/libraries/ez_template/operators/array_handling

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Georg Franz

Monday 14 July 2003 4:22:14 am

thanx for the info and the new documentation!

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.