<?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: Magento: Overriding Core Files (Blocks, Models, Resources, Controllers)</title>
	<atom:link href="http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/feed/" rel="self" type="application/rss+xml" />
	<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 03:45:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gopal</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-14234</link>
		<dc:creator>gopal</dc:creator>
		<pubDate>Fri, 23 Mar 2012 07:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-14234</guid>
		<description>hello i am overriding Admin Controller..... 
Mage_Adminhtml_Catalog_Product_Action_AttributeController class......
but its not working...

my controller code is as below and other xml code is same as written in your code....
include_once(&quot;Mage/Adminhtml/controllers/Catalog/Product/Action/AttributeController.php&quot;);
class My_Module_Catalog_Product_Action_AttributeController extends Mage_Adminhtml_Catalog_Product_Action_AttributeController
{.....}</description>
		<content:encoded><![CDATA[<p>hello i am overriding Admin Controller&#8230;..<br />
Mage_Adminhtml_Catalog_Product_Action_AttributeController class&#8230;&#8230;<br />
but its not working&#8230;</p>
<p>my controller code is as below and other xml code is same as written in your code&#8230;.<br />
include_once(&#8220;Mage/Adminhtml/controllers/Catalog/Product/Action/AttributeController.php&#8221;);<br />
class My_Module_Catalog_Product_Action_AttributeController extends Mage_Adminhtml_Catalog_Product_Action_AttributeController<br />
{&#8230;..}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruiwant Magento</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-14168</link>
		<dc:creator>Ruiwant Magento</dc:creator>
		<pubDate>Sun, 18 Mar 2012 09:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-14168</guid>
		<description>Something wrong in Magento 1.6.1. Any Help?</description>
		<content:encoded><![CDATA[<p>Something wrong in Magento 1.6.1. Any Help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manu</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-14135</link>
		<dc:creator>manu</dc:creator>
		<pubDate>Thu, 15 Mar 2012 11:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-14135</guid>
		<description>ref:Overriding Admin Core Controllers
Due to your config.xml http://mywebsite.com/admin not working.
how to fix it?</description>
		<content:encoded><![CDATA[<p>ref:Overriding Admin Core Controllers<br />
Due to your config.xml <a href="http://mywebsite.com/admin" rel="nofollow">http://mywebsite.com/admin</a> not working.<br />
how to fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brk aydn</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-14124</link>
		<dc:creator>brk aydn</dc:creator>
		<pubDate>Wed, 14 Mar 2012 16:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-14124</guid>
		<description>you make my day! thank you much....</description>
		<content:encoded><![CDATA[<p>you make my day! thank you much&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelLeeBaker</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-14091</link>
		<dc:creator>MichaelLeeBaker</dc:creator>
		<pubDate>Sun, 11 Mar 2012 04:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-14091</guid>
		<description>I noticed some people had problems in the comments here. I kept getting an error about the Class MyPackage_Catalog_Block....etc not being found in Layout.php - I found that this is due to the fact that you have to change the class name in the actual php file that you are editing. For instance with the Breadcrumbs.php example, I had to change &quot;class Mage_Catalog_Block_Breadcrumbs extends Mage_Core_Block_Template&quot; to &quot;class MyPackage_Catalog_Block_Breadcrumbs extends Mage_Core_Block_Template&quot;  - this makes sense but is easy to overlook I think, even though this is indicated in the first thing that Pratt says in this article.</description>
		<content:encoded><![CDATA[<p>I noticed some people had problems in the comments here. I kept getting an error about the Class MyPackage_Catalog_Block&#8230;.etc not being found in Layout.php &#8211; I found that this is due to the fact that you have to change the class name in the actual php file that you are editing. For instance with the Breadcrumbs.php example, I had to change &#8220;class Mage_Catalog_Block_Breadcrumbs extends Mage_Core_Block_Template&#8221; to &#8220;class MyPackage_Catalog_Block_Breadcrumbs extends Mage_Core_Block_Template&#8221;  &#8211; this makes sense but is easy to overlook I think, even though this is indicated in the first thing that Pratt says in this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal Porwal</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-14030</link>
		<dc:creator>Vishal Porwal</dc:creator>
		<pubDate>Mon, 05 Mar 2012 05:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-14030</guid>
		<description>Hi Josh, 
Your post is gr8. But I may have different idea as below and need your help. 
I want to fire one event when customer submit the add to cart button, I want to check a custom flag if its true then add product to cart otherwise throw an exception on cart page. How can I fire an event on core actions ? I dont want to touch addAction of core checkout cart controller?

Thanks in advance!!</description>
		<content:encoded><![CDATA[<p>Hi Josh,<br />
Your post is gr8. But I may have different idea as below and need your help.<br />
I want to fire one event when customer submit the add to cart button, I want to check a custom flag if its true then add product to cart otherwise throw an exception on cart page. How can I fire an event on core actions ? I dont want to touch addAction of core checkout cart controller?</p>
<p>Thanks in advance!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gajendra</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-13805</link>
		<dc:creator>Gajendra</dc:creator>
		<pubDate>Wed, 15 Feb 2012 10:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-13805</guid>
		<description>Hi Josh,

Thank you to write this supportive articles. I have override invoice controller as per your guideline. But now I am unable to access admin panel.

Can you please support me?

Regards,
Gajendra</description>
		<content:encoded><![CDATA[<p>Hi Josh,</p>
<p>Thank you to write this supportive articles. I have override invoice controller as per your guideline. But now I am unable to access admin panel.</p>
<p>Can you please support me?</p>
<p>Regards,<br />
Gajendra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Watson</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-13473</link>
		<dc:creator>Daniel Watson</dc:creator>
		<pubDate>Mon, 16 Jan 2012 17:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-13473</guid>
		<description>Very useful blog.
Thanks for share.</description>
		<content:encoded><![CDATA[<p>Very useful blog.<br />
Thanks for share.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentino</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-13128</link>
		<dc:creator>Valentino</dc:creator>
		<pubDate>Sat, 24 Dec 2011 13:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-13128</guid>
		<description>Hi,
by your tricks can I set $countOfSubscritions = 20 into  app/code/core/Mage/Adminhtml/controllers/Newsletter/QueueController.php ?
Thank You and Marry Christmas
Valentino</description>
		<content:encoded><![CDATA[<p>Hi,<br />
by your tricks can I set $countOfSubscritions = 20 into  app/code/core/Mage/Adminhtml/controllers/Newsletter/QueueController.php ?<br />
Thank You and Marry Christmas<br />
Valentino</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surinder</title>
		<link>http://prattski.com/2010/06/24/magento-overriding-core-files-blocks-models-resources-controllers/#comment-12831</link>
		<dc:creator>Surinder</dc:creator>
		<pubDate>Thu, 08 Dec 2011 06:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=439#comment-12831</guid>
		<description>
       
		
		
			
				CustomCode_MyNewsletter_Mysubscriber
			
		
	
	</description>
		<content:encoded><![CDATA[<p>CustomCode_MyNewsletter_Mysubscriber</p>
]]></content:encoded>
	</item>
</channel>
</rss>

