Magento Module Not Working? This Might be Why

After a few hours of intense googling I have finally figured out why my Magento custom module is refusing to activate. I finally figured it out. It’s all because the snippet of XML that I copied and pasted off a tutorial somewhere did not have the right capitalisation.

doesn’t work - EC_All.xml

<?xml version="1.0"?>
<config>
    <modules>
        <EC_CatalogSearch>
            <active>true</active>
            <codepool>local</codepool>
        </EC_CatalogSearch>
    </modules>
</config>

does work - EC_All.xml

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

I think next time I’m just going to use the module creator!


Tags: magentocustommodulexml