Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Question about Creating new Module
 
brendanb
Mentor
 
Total Posts:  1093
Joined:  2008-07-16
London, United Kingdom
 

Hi all,

Just a question about creating a couple of modules. I have created a module shown below which works fine. Lets say its called CompanyXYZ.xml

This module basically extends the navigation.php file to include the category image and description fields

This module is located in app/code/etc/modules/CompanyXYZ.xml

Here is a sample of the current module

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

My Question is this. I want to create a new module to extend php files from the Catalog/Product/List.php. Ive tried to include this module in the same module, but it causes the site to return “Redirection limit for this URL exceeded”

<?xml version="1.0"?>
<config>
    <
modules>
     <
CompanyXYZ_Catalog>
            <
active>true</active>
            <
codePool>local</codePool>
      </
CompanyXYZ_Catalog>
      <
CompanyXYZ_Catalog_Product>
            <
active>true</active>
            <
codePool>local</codePool>
        </
Pologlen_Catalog_Product>
    </
modules>
</
config>

So do i have to create a new module for each customisation.
Or is there a way to add new modules into the same CompanyXYZ.xml file??

cheers

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top