1
  1. How to create custom module from scratch in Magento 1.9.x.
  2. which is the directory structure and which are the files i need to create for creating the simple basic custom module.
2

1 Answer 1

1

You should work with app/code/local directory and there build your module.

Create: app/code/local/Vendor_Name/Module_Name/etc/config.xml with

<?xml version="1.0"?>
<config>
<modules>
<Vendor_Name_Module_Name>
<version>0.0.1</version>
</Vendor_Name_Module_Name>
</modules>
</config>

and create app/etc/modules/_.xml with

<?xml version="1.0"?>
<config>
<modules>
<Vendor_Name_Module_Name>
<active>true</active>
<codePool>local</codePool>
</Vendor_Name_Module_Name>
</modules>
</config>

With this 2 files you should be able to see your module in Magento Admin > System Configuration > Advanced > Advanced

2
  • thank you, but i want to create custom module for crud operation in magento back-end one new menu as well as admin can view,edit and delete FAQ's will be created and in front-end i need to create one form for FAQ.
    – Deep Shah
    Commented Nov 28, 2019 at 9:46
  • 1
    Sure, but you asked about creating simple basic module. I advise you to create a new question with more accurate description :)
    – lama377
    Commented Nov 28, 2019 at 10:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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