I have a simple module created with the Magento Module Creator with a couple of settings in admin->system->config.
When I go to these settings and choose the enable/disable option, the settings get saved – which is great – however, I want to run my own code after that, i.e. on the save action, once the data has been saved.
although it isnt a good idea but you can achieve it by observers:
replace the my-s with module_controller_action, and most likely you want to put it in this event:
in your config xml as follows:
and in mymodule, as in your module have a class observer in mymodule/Model/Observer.php
and declare the observer as