f8dev Posted February 18, 2015 Share Posted February 18, 2015 Hi, I am having trouble overriding the loyalty rewards module controller. I have copied the default.php file and placed it in my_theme/modules/loyalty/override/controllers/front/default.php, but when I make any changes they don't appear so I assume the override isn't working and its using the modules standard controller. Can someone let me know how I can do this please. Link to comment Share on other sites More sharing options...
fred-vinapresta Posted February 19, 2015 Share Posted February 19, 2015 Hi, i don't think that you can override a module controller as you can override the core controllers. Maybe you can just duplicate the module and modifiy what you want inside or save the old default.php and create a new one in the original module like that if you update the module, you will just need to reinsert your modifications in the updated default controller 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