Set-block & array

Author Message

Fabien Mas

Wednesday 12 March 2008 9:50:10 am

Hi,
In a template file, I would like to put an array in a 'set-block'

 
{set-block scope=root variable=email_cc_receivers}{$tab_add}{/set-block}	

but in kernel\content\collectinformation.php my $ccReceivers varaible is the string 'array'

How can I do to have an array in collectinformation.php ?

thx

Fabien Mas

Wednesday 12 March 2008 10:01:16 am

solved

{foreach $tab_add as $add}
	{append-block scope=root variable=email_cc_receivers}{$add}{/append-block}
{/foreach}

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