Jump to content

Overriding admin templates in a module?


Recommended Posts

Im trying to override this file:

admin/themes/default/template/controller/customer_threads/helpers/view/message.tpl

Now I can override them by putting them here:

override/controllers/admin/templates/customer_threads/helpers/view

But I need to override the view.tpl and modal.tpl also since view is the parent of modal.tpl and message.tpl. I understand the necessity of view.tpl since it is the parent and since I need to modify message.tpl, but because view.tpl references modal.tpl, I need to pull that file into the override folder also. Is there a way that I can just update the include path in view.tpl to point to the original modal.tpl?

Also is there a way to override these files within a module instead of the override folder?

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