O'Reilly logo

Getting Started with Magento Extension Development by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Registering your extension

The following are the steps to register your extension:

  1. Governed by the same rules from Chapter 2, Building the Extension - Maximum Order Amount, we will first set a name and location for our extension. Our extension will be named as Foggyline_Logger and will be located under community codePool.
  2. Now, we need to create an extension of the registration file app/etc/modules/Foggyline_Logger.xml with the following code content:
    <?xml version="1.0"?>
    <config>
      <modules>
        <Foggyline_Logger>
          <active>true</active>
          <codePool>community</codePool>
          <depends>
            <Mage_Core/>
          </depends>
        </Foggyline_Logger>
      </modules>
    </config>
  3. Once the file is in place, you need to confirm that Magento can see it under System | Configuration | Advanced | ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required