Create a new module on magento 1x | How to create a Magento 1.9 Custom Module | Magento 1.9.x: How to create an Extension / Module ?

Create a magento 1x simple module Make sure magento admin panel  system/tools/compilation is disabled.

Just need to create a new file on app\etc\modules Trenza_Orderimage.xml

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

Here Trenza_Orderimage this is my module identity. Now go to app/code/local/ create a folder Trenza go inside trenza(package name) and now open Orderimage (Module name). So your path will be app\code\local\Trenza\Orderimage. Now app\code\local\Trenza\Orderimage\etc here create a config file name config.xml.

<?xml version="1.0"?>
<config>
    <modules>
        <Trenza_Orderimage>
            <version>1.0.0</version>
        </Trenza_Orderimage>
    </modules>
</config>

Now refresh cache, make compilation as it before disable (if before disable the compilation, it already disable then no need to change any thing but if it enable then enable it). Now logout and login. Your module is fully ready.

Leave a Reply