ragulka Posted July 24, 2013 Share Posted July 24, 2013 I understand that it is possible to override back-office .tpl files either by placing them in the general override folder, for example: /override/controllers/admin/templates/products/informations.tpl, or to override a specific module's templates, in my theme, for example: /themes/my_theme/modules/my_module/mymodule.tpl However, is it somehow possible to override from my own module? For example, something like this: /modules/my_module/override/controllers/admin/templates/products/informations.tpl ? If not, perhaps this is on the roadmap as it seems like a really useful feature to have. Link to comment Share on other sites More sharing options...
vekia Posted July 24, 2013 Share Posted July 24, 2013 hello as far as i know it isn't possible to override back office .tpl files from module Imagine this situation: if several modules wants to override the admin tpl file, what then? 1 Link to comment Share on other sites More sharing options...
Nervus70 Posted June 9, 2016 Share Posted June 9, 2016 (edited) Hello Sorry to Put this topic up but I need a clean solution. I have created a module that create a table linked to a customer, and I have to show these fields in the customer back office (Client profile). I was really disappointed to see that no hooks are available to add simple fields in this template (no display hooks are available at all for this template). So I'm trying to override it from my module ( this one: admin.../themes/default/template/controllers/customers/helpers/view/view.tpl ) but it looks like this is impossible due to possible conflicts between modules (that potentially override the same templates). What I understand of course. But I just want to insert fields without editing original template because this is really not good and I want to enapsulate this feature in my module.... what's the best way to proceed? Fields are HARDCODED in the template not as the client listing. Unfortunatly It would be nice to have a little help for this problem Thank you very much Edited June 9, 2016 by Nervus70 (see edit history) 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