Inform-All Posted September 21, 2015 Share Posted September 21, 2015 I am making a module, but now I need to override a BO template file. But this needs to be done at the installation of the module, so nobody needs to manually create/edit any files after the module installation. I want to override: "admin1234/themes/default/template/controllers/orders/helpers/view/view.tpl" Any pointers / tips would be great already! Link to comment Share on other sites More sharing options...
Inform-All Posted September 22, 2015 Author Share Posted September 22, 2015 up Link to comment Share on other sites More sharing options...
Inform-All Posted September 22, 2015 Author Share Posted September 22, 2015 Seems like Prestashop doesent allow you to do this. Bummer Link to comment Share on other sites More sharing options...
herve25 Posted September 22, 2015 Share Posted September 22, 2015 Hello, Unfortunately prestashop only copy automaticaly the file .php you can copy your file(s) in the function install() and remove them in the function uninstall. I've done it for one of my module, you can take a look there : https://github.com/nenes25/prestashop_eicmslinks/blob/master/eicmslinks/eicmslinks.php If it could helps. ( sorry comments in french ) 1 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