Diego Alves Posted November 10, 2018 Share Posted November 10, 2018 public function hookDisplayFooter() { $this->context->smarty->assign('varteste', "olá"); return $this->display(__FILE__, 'teste.tpl'); } in my teste.tpl {{ $varteste } shows $varteste when the template is displayed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now