Rubens Cury Posted May 3, 2015 Share Posted May 3, 2015 Hi, I've been created my custom core override located in mymodule\controllers\admin\AdminOrdersController.php as following: class AdminOrdersController extends AdminOrdersControllerCore { public function postProcess() { d('text1'); parent::postProcess(); } } It works pretty well when I install my module, and also - it has been removed - when I uninstall my module. The problem is that if do any change, it does not reflect to the override file in root\override\controllers\admin\AdminOrdersController.php Should I really have to manually update this file whenever I want to change something? Just in case, yes, I already tried unsuccessful to delete the cache\class_index.php Thank you Rubens Cury Link to comment Share on other sites More sharing options...
razaro Posted May 3, 2015 Share Posted May 3, 2015 It does not work like that. When you install your module it copies code from your modules AdminOrder file to one in override folder. So if you are still developing module just work on one in override folder and when you are done include that in module folder. 1 Link to comment Share on other sites More sharing options...
Rubens Cury Posted May 4, 2015 Author Share Posted May 4, 2015 That's what I was imagining. Thank you @razaro 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