marketa Posted October 27, 2015 Share Posted October 27, 2015 Hi, I'm new to prestashop, so it is possible that I got it wrong... Is possible (how?) to override a controller within a module? I mean I want to create module which changes a little bit of behaviour of e.g. FrontController. I maybe combining two different things, but it would be nice... I've tried something like creating /modules/mymodule/override/controllers/front/FrontController.php but it didn't work (no error, nothing). (I've followed advice with overriding FrontController class from this thread: http://stackoverflow.com/questions/10052690/login-only-prestashop-catalog - answer from bmunslow and I want to apply that into module) I want to solve my issue it with modules because of some more logic (e.g. extending db tables and so on which is easily done by installing the module on back office) Thanks for your tips. Link to comment Share on other sites More sharing options...
El Patron Posted October 28, 2015 Share Posted October 28, 2015 I think this article will help you understand how to accomplish: http://doc.prestashop.com/display/PS16/Overriding+default+behaviors 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