I was wondering if it was possible to assign an array to a variable within a Smarty template file? I have tried this
{assign var=\'file\' value = array(\'dir
I just found another answer here that allows you to do this without the use of {php} tags (recommended by Smarty)
{assign var='icon' value=','|explode:"dir,doc,exe"}
still open to more ideas though...