Steps to create custom magento module:
Namespace : Viral
Module Name : Mymodule
1. Create directory Mymodule in app/code/local/Viral
2. Create Block, controllers, etc, Module directories. Create controller, block and module file as required.
3. Create module configuration file (app/code/local/Viral/Mymodule/etc/config.xml).
4. Create xml file (app/etc/modules/Viral_ Mymodule.xml)to enable/disable module and tell magento system from which code pool that module will be taken.
Namespace : Viral
Module Name : Mymodule
1. Create directory Mymodule in app/code/local/Viral
2. Create Block, controllers, etc, Module directories. Create controller, block and module file as required.
3. Create module configuration file (app/code/local/Viral/Mymodule/etc/config.xml).
4. Create xml file (app/etc/modules/Viral_ Mymodule.xml)to enable/disable module and tell magento system from which code pool that module will be taken.
No comments:
Post a Comment