fixed custom.tpl smarty compiling issue

enabled smarty variables in custom.tpl