Jump to content

.tpl in Form description?


Guest

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...