Here is the plugin
function smarty_function_store($params, &$smarty)
{
$str = array('item1',
'item2',
'item3',
'item4');
$store = explode(',', $str, -1);
return $store[$result];
}
I am calling it by
{store}
But how can I get it to display properly????
with php I could just use
$store[0];