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

Overload resourceModel class
 
nicolas46
Sr. Member
 
Total Posts:  210
Joined:  2008-04-09
Toulouse
 

Hello,
I would like to customize applyFilterToCollection() of Mage_CatalogIndex_Model_Mysql4_Attribute so I wrote this in my config file :

...
<global>
        <
models>
                       <
catalogindex>
                          <
rewrite>
                                <
mysql4_attribute>Company_MyModule_Model_CatalogIndex_Mysql4_Attribute</mysql4_attribute>
                       </
rewrite>
                      </
catalogindex>
        </
models>    
</global>    
...

But it’s doesn’t work,can please someone explain how to do ?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
scree
Sr. Member
 
Avatar
Total Posts:  137
Joined:  2008-07-14
Linz
 

similar problem here:
http://www.magentocommerce.com/boards/viewthread/15861/

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