NishantVadgama Posted May 30, 2016 Share Posted May 30, 2016 Hello Prestashop Experts, I want to override view.tpl of order in admin panel so I have place view.tpl file in following path mymodule/override/controllers/admin/templates/orders/helpers/view/view.tpl and it works perfectly but when Im trying to validate my module package on prestashop validator gives following error Templates should be placed in /views/templates/(admin|hook|front) How can I resolve this please help me. Should I add comment in header part of tpl file and submit with error or is there another way? Link to comment Share on other sites More sharing options...
bellini13 Posted May 31, 2016 Share Posted May 31, 2016 I would suggest ignoring the validation error, add a comment explaining why you have overridden an admin view tpl, and submit the module. They may reject it based on what you are trying to override (they do not like overrides), but if you have a good reason to do so, and they deem it 'safe', then they may approve it. Link to comment Share on other sites More sharing options...
NishantVadgama Posted May 31, 2016 Author Share Posted May 31, 2016 Hello bellini13, Thank you for your suggestion it really helps. 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