How can i merge array in ezpublish template?

600 views Asked by At

If any one could help me to add arrays in ez publish.

i have arrays link

{def $a = array(a,b,c)}
{def $b = array(d,e)}

i want an output in an array like

$c = array(a,b,c,d,e);
1

There are 1 answers

0
Sujeet On BEST ANSWER

This will surely work:

{def $c = merge($a,$b)}

output: array(a,b,c,d,e)