How can i merge array in ezpublish template?

617 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 best solutions below

0
On BEST ANSWER

This will surely work:

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

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