Lotti Posted January 10, 2013 Share Posted January 10, 2013 (edited) hello there! i'm doing minor tweak and integration to prestashop using overriding method. First: what is the purpose of "/override/controllers/admin/templates" directory? Then, I have to add some html to back office template (this is the file /admin/themes/default/template/controllers/products/prices.tpl). Is there a way to override just the prices.tpl? maybe using the path in the title? and how? Another option will be make a copy of default backoffice template and do the modification there. but this requires to copy the entire file set (losing what is really modified and what no (well i have versioning but it's not so fast as "look at files")) and to change template value on all and every new employee accounts. Suggestions? Thanks! Edited January 10, 2013 by Lotti (see edit history) Link to comment Share on other sites More sharing options...
Lotti Posted January 10, 2013 Author Share Posted January 10, 2013 actually i found something on dev docs: http://doc.prestashop.com/display/PS15/Using+helpers+to+overload+a+back-office+template Link to comment Share on other sites More sharing options...
Lotti Posted January 10, 2013 Author Share Posted January 10, 2013 well i haven't figured out how to override that specific file. i think it's possibile to override just the helpers :\ if some accomplished extend / overwrite a not helper tpl (like /admin/themes/default/template/controllers/products/prices.tpl) please tell me how thank you. Link to comment Share on other sites More sharing options...
jorgemartin Posted January 14, 2013 Share Posted January 14, 2013 Hi Lotti, I have followed http://doc.prestasho...office+template and I have overrided /admin/themes/default/templates/controllers/products/informations.tpl As you say I have copied the core file to /override/controllers/admin/templates/products/informations.tpl then I have edited the file in the override folder and it works but I have lost all the translations for the strings. Link to comment Share on other sites More sharing options...
Lotti Posted January 14, 2013 Author Share Posted January 14, 2013 you're right! thank you to let me try again! Link to comment Share on other sites More sharing options...
luchiniii Posted January 29, 2013 Share Posted January 29, 2013 Hello I'm trying to override this file: prestashop15\site-admin\themes\default\template\controllers\orders\_customized_data.tpl and I have copied it into this path: prestashop15\override\controllers\admin\templates\orders\_customized_data.tpl but I can't see any changes, could please tell me the right way to do this? Link to comment Share on other sites More sharing options...
Daniel - PrestaBR Posted March 25, 2013 Share Posted March 25, 2013 up Link to comment Share on other sites More sharing options...
michael.kubovic Posted June 5, 2013 Share Posted June 5, 2013 Did you manage to retain translations after overriding? Link to comment Share on other sites More sharing options...
dtanon Posted February 21, 2014 Share Posted February 21, 2014 Hello I'm trying to override this file: prestashop15\site-admin\themes\default\template\controllers\orders\_customized_data.tpl and I have copied it into this path: prestashop15\override\controllers\admin\templates\orders\_customized_data.tpl but I can't see any changes, could please tell me the right way to do this? Did you find a solution ? Link to comment Share on other sites More sharing options...
kiran.jawa Posted July 14, 2015 Share Posted July 14, 2015 I want to override admin/themes/default/template/controllers/customer_threads/helpers/view/view.tpl in Prestshop 1.6. I just need to made some design changes. Link to comment Share on other sites More sharing options...
JohnDM Posted September 16, 2015 Share Posted September 16, 2015 I want to override admin/themes/default/template/controllers/customer_threads/helpers/view/view.tpl in Prestshop 1.6. I just need to made some design changes. Hi, any solution? 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