I am not sure if this is possible but I have a variable assigned in a file I cannot change.
$smarty->assign('signature',$account->options[SIGNATURE]);
It is just set to 1 or 0 but I need that value later in the file I am working in. From a settings page I have an array that will validate a signature field based on this value. This is inside of a foreach loop and I was hoping I could do something like {if ${$settings.signature} eq 1} where {$settings.signature} would evaluate to signature.
In php it is basically variable variables I believe. How can I do this in smarty?