I've seen a lot of tutorials on how to create a custom module in Magento. But all of them are mostly those helloworld examples.

I'm wondering what files do we actually have to create in order to just create a module that's been reckognized by the system.

What are the only important files that have to exist for the module? I'm thinking that only confing.xml and namespace_Modulename.xml are needed for a new module and everything else is like extra for that (example showing stuff on the page etc).

  • If you only add one file namespace_Modulename.xml the system will recon it as a module and will show it on System > Config > Advanced
    – John
    Jun 27, 2017 at 7:57

1 Answer 1


You are right... all you need to get your module loaded are:

  • app/etc/modules/My_Module.xml
  • app/code/pool/My/Module/etc/config.xml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.