Jump to content

Unable to load template file


cikcak

Recommended Posts

Hey,

 

im creating a module with additional admin controller: AdminEcoController

 

in this controller im creating template:

 

    $this->createTemplate('Ecor.tpl')->fetch();

 

And got: 'Unable to load template file '/home/web/domains/dom.com/public_html/admin/themes/default/template/ecor.tpl'

 

If I create folder in default/template/eco and put ecor.tpl in this folder its okey. No error. But I want to do it by installing module. I have put it in mymodule/views/templates/admin/eco/ecor.tpl

 

But no results.. How should I solve this problem?

 

 

Link to comment
Share on other sites

The error talk you where is looking for the file

 

/home/web/domains/dom.com/public_html/admin/themes/default/template/

 

put your module here

 

mymodule/views/templates/admin/

Ive put it to mymodule/views/templates/admin and reinstall. Same...

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

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...