Chill_user Posted May 20, 2020 Share Posted May 20, 2020 Hello to all, I created admincontroller in /mymodule/controllers/admin/demo.php Controller is running, but I can't show the content of an tpl file Code in controller: public function initContent() { parent::getContent(); $this->context->smarty->createTemplate('views/templates/admin/demo.tpl', $this->context->smarty); $this->setTemplate('views/templates/admin/configure.tpl'); } The tamplates exists, no errors about templates, but "panel" bar is now showing content 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