<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to override Magento model classes?</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Fri, 10 Sep 2010 04:05:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Janimatti Ellonen</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-7326</link>
		<dc:creator>Janimatti Ellonen</dc:creator>
		<pubDate>Thu, 17 Jun 2010 08:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-7326</guid>
		<description>Worth to mention is that if the class you want to override has a deeper catalog structure then you need to provide the whole path to the  element in the config.xml file.

For example, I had to override the password length check in 

class 

Mage_Customer_Model_Customer_Attribute_Backend_Password

My config file:

*snip*
                
                        MyCompany_Customer_Model_Customer_Attribute_Backend_Password
                
*snip*</description>
		<content:encoded><![CDATA[<p>Worth to mention is that if the class you want to override has a deeper catalog structure then you need to provide the whole path to the  element in the config.xml file.</p>
<p>For example, I had to override the password length check in </p>
<p>class </p>
<p>Mage_Customer_Model_Customer_Attribute_Backend_Password</p>
<p>My config file:</p>
<p>*snip*</p>
<p>                        MyCompany_Customer_Model_Customer_Attribute_Backend_Password</p>
<p>*snip*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamal</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-7050</link>
		<dc:creator>Jamal</dc:creator>
		<pubDate>Thu, 13 May 2010 16:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-7050</guid>
		<description>Does anybody know how to override this magento class 

class Mage_Directory_Model_Currency extends Mage_Core_Model_Abstract 
{ } 

In my config.xml file, I have made the following change: 

 
..... 
 
 
 
MyCompany_MyModule_Model_Currency 
 
 
 

...... 
 

But it is not working! I&#039;m missing something? 

Regards,</description>
		<content:encoded><![CDATA[<p>Does anybody know how to override this magento class </p>
<p>class Mage_Directory_Model_Currency extends Mage_Core_Model_Abstract<br />
{ } </p>
<p>In my config.xml file, I have made the following change: </p>
<p>&#8230;.. </p>
<p>MyCompany_MyModule_Model_Currency </p>
<p>&#8230;&#8230; </p>
<p>But it is not working! I&#8217;m missing something? </p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vahagn</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-3548</link>
		<dc:creator>Vahagn</dc:creator>
		<pubDate>Mon, 19 Oct 2009 13:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-3548</guid>
		<description>Please correct xml tags there is a space between opening tag and exclamation sign: &quot;&lt; ?xml&quot;</description>
		<content:encoded><![CDATA[<p>Please correct xml tags there is a space between opening tag and exclamation sign: &#8220;&lt; ?xml&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-3071</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 14 Aug 2009 17:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-3071</guid>
		<description>Thanks for the effort. 

Seems like Branko got it covered already at ActiveCodeline, Overrider module, which shows it nicely how to do it ( http://activecodeline.com/modules/ ).</description>
		<content:encoded><![CDATA[<p>Thanks for the effort. </p>
<p>Seems like Branko got it covered already at ActiveCodeline, Overrider module, which shows it nicely how to do it ( <a href="http://activecodeline.com/modules/" rel="nofollow">http://activecodeline.com/modules/</a> ).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas Novoselic</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-3058</link>
		<dc:creator>Tomas Novoselic</dc:creator>
		<pubDate>Thu, 13 Aug 2009 10:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-3058</guid>
		<description>Hm... it seems that I was right, wordpress plugin turns all tags to small case :(</description>
		<content:encoded><![CDATA[<p>Hm&#8230; it seems that I was right, wordpress plugin turns all tags to small case <img src='http://inchoo.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas Novoselic</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-3057</link>
		<dc:creator>Tomas Novoselic</dc:creator>
		<pubDate>Thu, 13 Aug 2009 10:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-3057</guid>
		<description>@ m4e Tnx for mentioning that! I&#039;m not sure what happened, maybe this code display plugin for wordpress. I&#039;ll check that asap</description>
		<content:encoded><![CDATA[<p>@ m4e Tnx for mentioning that! I&#8217;m not sure what happened, maybe this code display plugin for wordpress. I&#8217;ll check that asap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m4e</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-3046</link>
		<dc:creator>m4e</dc:creator>
		<pubDate>Wed, 12 Aug 2009 15:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-3046</guid>
		<description>// lost tags, sorry
You should use &quot;codePool&quot; instead of &quot;codepool&quot;
Magento is case sencitive, you know</description>
		<content:encoded><![CDATA[<p>// lost tags, sorry<br />
You should use &#8220;codePool&#8221; instead of &#8220;codepool&#8221;<br />
Magento is case sencitive, you know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m4e</title>
		<link>http://inchoo.net/ecommerce/magento/how_to_override_magento_model_classes/comment-page-1/#comment-3045</link>
		<dc:creator>m4e</dc:creator>
		<pubDate>Wed, 12 Aug 2009 15:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=2729#comment-3045</guid>
		<description>You should use  instead of  :)</description>
		<content:encoded><![CDATA[<p>You should use  instead of  <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
