Forums / Developer / Set-block & array
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
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}