Config attribute

Added the following code to the Addpeople/CustomFeaturedAttribute/etc/config.xml

<?xml version="1.0"?>
<config>
    <modules>
        <Addpeople_CustomFeaturedAttribute>
            <version>0.0.1</version>
        </Addpeople_CustomFeaturedAttribute>
    </modules>
 
    <global>
        <resources>
            <add_category_attribute>
                <setup>
                    <module>Addpeople_CustomFeaturedAttribute</module>
                    <class>Mage_Catalog_Model_Resource_Setup</class>
                </setup>
                <connection>
                    <use>core_setup</use>
                </connection>
            </add_category_attribute>
            <add_category_attribute_write>
                <connection>
                    <use>core_write</use>
                </connection>
            </add_category_attribute_write>
            <add_category_attribute_read>
                <connection>
                    <use>core_read</use>
                </connection>
            </add_category_attribute_read>
        </resources>
    </global>
</config>

Share this Tutorial