<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flash + Photoshop + Everything Cool! &#187; magento</title>
	<atom:link href="http://alvinzhang.info/index.php?feed=rss2&#038;cat=90" rel="self" type="application/rss+xml" />
	<link>http://alvinzhang.info</link>
	<description>Experimentation and everything fun about the web.</description>
	<lastBuildDate>Fri, 10 Sep 2010 03:00:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Magento 1.4 and TBT Enhanced Grid 1.2</title>
		<link>http://alvinzhang.info/?p=217</link>
		<comments>http://alvinzhang.info/?p=217#comments</comments>
		<pubDate>Wed, 17 Mar 2010 10:18:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento 1.4]]></category>
		<category><![CDATA[pdo error]]></category>
		<category><![CDATA[tbt]]></category>

		<guid isPermaLink="false">http://alvinzhang.info/?p=217</guid>
		<description><![CDATA[If you have just upgraded to Magento 1.4.0.1 and installed the latest TBT enhanced grid version 1.2 and you are encountering an error regarding the PDO::quote expecting a String instead of an object, here is the solution:
1) Open up app\code\community\TBT\Enhancedgrid\Block\Catalog\Product\Grid.php
2) Goto line 171 and find
private function loadColumnOptions($attr_code) {
        [...]]]></description>
			<content:encoded><![CDATA[<p>If you have just upgraded to Magento 1.4.0.1 and installed the latest TBT enhanced grid version 1.2 and you are encountering an error regarding the PDO::quote expecting a String instead of an object, here is the solution:</p>
<p>1) Open up app\code\community\TBT\Enhancedgrid\Block\Catalog\Product\Grid.php</p>
<p>2) Goto line 171 and find<br />
private function loadColumnOptions($attr_code) {<br />
        $attr = Mage::getModel(&#8217;eav/entity_attribute&#8217;)->loadByCode(&#8217;catalog_product&#8217;, $attr_code);<br />
        if(sizeof($attr->getData()) > 0) {<br />
            if($attr->getFrontendInput() == &#8217;select&#8217;) {<br />
                $values = Mage::getResourceModel(&#8217;eav/entity_attribute_option_collection&#8217;)<br />
                    ->setAttributeFilter($attr->getId())<br />
                    ->setStoreFilter($this->_getStore()<strong>->getId()</strong>, false)</p>
<p>the bold code is what you need to add because the store filter takes the store ID instead of the store object. What happens on the backend is Magento basically takes the value and makes it part of an SQL statement so an object doesn&#8217;t really make sense.</p>
<p>Hope this helps anyone stuck with this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://alvinzhang.info/?feed=rss2&amp;p=217</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to show error description in Magento 1.4</title>
		<link>http://alvinzhang.info/?p=206</link>
		<comments>http://alvinzhang.info/?p=206#comments</comments>
		<pubDate>Thu, 18 Feb 2010 09:26:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://alvinzhang.info/?p=206</guid>
		<description><![CDATA[Simply go to your magento installation folder, locate the errors folder and you will find local.xml.sample, simply duplicate the file and rename it local.xml
]]></description>
			<content:encoded><![CDATA[<p>Simply go to your magento installation folder, locate the errors folder and you will find local.xml.sample, simply duplicate the file and rename it local.xml</p>
]]></content:encoded>
			<wfw:commentRss>http://alvinzhang.info/?feed=rss2&amp;p=206</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
