prestashop_newuser Posted April 19, 2015 Share Posted April 19, 2015 Hi, I want to override FrontControllerCore class from my custom module. So can someone tell me how to override the FrontControllerCore class from my module. Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted April 19, 2015 Share Posted April 19, 2015 have you read the documentation? http://doc.prestashop.com/display/PS16/Overriding+default+behaviors Link to comment Share on other sites More sharing options...
prestashop_newuser Posted April 20, 2015 Author Share Posted April 20, 2015 have you read the documentation? http://doc.prestashop.com/display/PS16/Overriding+default+behaviors In my custom module I have added a new file override/classes/controller/FrontController.php and add this content class FrontController extends FrontControllerCore { //.. override methods } then how to use that newly created class FrontController class in my module php file Or I have to do something else to override that? 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