Is there a way to change the smarty core {if $foo}
so that it uses the isset()
and $foo|default:$foo2
?
The reason I ask this is because I am getting PHP warning messages.
I understand that I can do {if isset($foo)} although it is a lot clean to write this without the isset().