Enable layout and append Smarty