Add feature to render tpl with Smarty module