Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6124033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:05:10+00:00 2026-05-23T16:05:10+00:00

I have a simple module created with the Magento Module Creator with a couple

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:05:11+00:00Added an answer on May 23, 2026 at 4:05 pm

    although it isnt a good idea but you can achieve it by observers:

    <controller_action_postdispatch_adminhtml_mymodule_mycontroller_myaction>
    

    replace the my-s with module_controller_action, and most likely you want to put it in this event:

    <controller_action_postdispatch_adminhtml_system_config_save>
    

    in your config xml as follows:

    <controller_action_postdispatch_adminhtml_system_config_save>
        <observers><myobserver>
            <type>singleton</type>
            <class>mymodule/observer</class>
            <method>mymethod</method> 
        </myobserver></observers>
    </controller_action_postdispatch_adminhtml_system_config_save>
    

    and in mymodule, as in your module have a class observer in mymodule/Model/Observer.php

    and declare the observer as

    class modules_mymodule_observer {
         public function myfunction(Varien_Event_Observer $observer){
             //do your stuffs
         }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Sample Module (Admin Side) in Magento.. I managed To created
I have a file uploader module. The UI is created using simple HTML and
I have created a simple EAR the contains a EJB module and a Application
Hi I have created a simple module to retrieve database data, I have the
I have created a simple Wix 3 Merge Module in VS 2005 ( .wxs
I have a simple module for adding the current user to a newly created
i have created a simple custom module to store title, date and content from
Thanks in advance. I am new to Magento, and I have created a module
I have recently created a new shipping module in Magento 1.3.2 with the aid
I have created a simple mod_perl module, which writes a 0-terminated string to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.