Smarty template engine adapter for Custom CMF