Guest Posted October 29, 2018 Share Posted October 29, 2018 I am building a module and am wondering how I can include the content of a .tpl file in the 'description' element of the array inside renderForm(), containing the admin form. Something like the following just outputs an empty string: 'description' => $this->fetch('module:' . $this->name . '/views/templates/admin/instructions.tpl'), Do you have any ideas? Thank you. Link to comment Share on other sites More sharing options...
Rolige Posted October 29, 2018 Share Posted October 29, 2018 Hello: Did you try de old way: $this->context->smarty->fetch($this->local_path.'views/templates/admin/your_tpl_name.tpl') Regards 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