<?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>magentosnippets.com</title>
	<atom:link href="http://www.magentosnippets.com.gridhosted.co.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.magentosnippets.com.gridhosted.co.uk</link>
	<description>A collection of Magento Code Snippets</description>
	<lastBuildDate>Sat, 21 Jan 2012 14:19:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Change the number of product columns in Grid View</title>
		<link>http://www.magentosnippets.com.gridhosted.co.uk/?p=10</link>
		<comments>http://www.magentosnippets.com.gridhosted.co.uk/?p=10#comments</comments>
		<pubDate>Sat, 21 Jan 2012 14:05:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Template]]></category>

		<guid isPermaLink="false">http://www.magentosnippets.com.gridhosted.co.uk/?p=10</guid>
		<description><![CDATA[In Magento 1.4-1.6, changing columns in Grid View for category listing page involves updating your themes catalog.xml &#8211; /app/design/frontened/YOUR THEME/layout/catalog.xml &#60;action method="addColumnCountLayoutDepend"&#62;&#60;layout&#62;empty&#60;/layout&#62;&#60;count&#62;6&#60;/count&#62;&#60;/action&#62; &#60;action method="addColumnCountLayoutDepend"&#62;&#60;layout&#62;one_column&#60;/layout&#62;&#60;count&#62;3&#60;/count&#62;&#60;/action&#62; &#60;action method="addColumnCountLayoutDepend"&#62;&#60;layout&#62;two_columns_left&#60;/layout&#62;&#60;count&#62;3&#60;/count&#62;&#60;/action&#62; &#60;action method="addColumnCountLayoutDepend"&#62;&#60;layout&#62;two_columns_right&#60;/layout&#62;&#60;count&#62;3&#60;/count&#62;&#60;/action&#62; &#60;action method="addColumnCountLayoutDepend"&#62;&#60;layout&#62;three_columns&#60;/layout&#62;&#60;count&#62;2&#60;/count&#62;&#60;/action&#62; &#60;action method="setToolbarBlockName"&#62;&#60;name&#62;product_list_toolbar&#60;/name&#62;&#60;/action&#62; You need to look for these references they could be in the catalo.xml files a few times for different scenarios such as if [...]]]></description>
			<content:encoded><![CDATA[<p>In Magento 1.4-1.6, changing columns in Grid View for category listing page involves updating your themes catalog.xml &#8211; /app/design/frontened/YOUR THEME/layout/catalog.xml</p>
<pre class="brush:xml">  &lt;action method="addColumnCountLayoutDepend"&gt;&lt;layout&gt;empty&lt;/layout&gt;&lt;count&gt;6&lt;/count&gt;&lt;/action&gt;
  &lt;action method="addColumnCountLayoutDepend"&gt;&lt;layout&gt;one_column&lt;/layout&gt;&lt;count&gt;3&lt;/count&gt;&lt;/action&gt;
  &lt;action method="addColumnCountLayoutDepend"&gt;&lt;layout&gt;two_columns_left&lt;/layout&gt;&lt;count&gt;3&lt;/count&gt;&lt;/action&gt;
  &lt;action method="addColumnCountLayoutDepend"&gt;&lt;layout&gt;two_columns_right&lt;/layout&gt;&lt;count&gt;3&lt;/count&gt;&lt;/action&gt;
  &lt;action method="addColumnCountLayoutDepend"&gt;&lt;layout&gt;three_columns&lt;/layout&gt;&lt;count&gt;2&lt;/count&gt;&lt;/action&gt;
  &lt;action method="setToolbarBlockName"&gt;&lt;name&gt;product_list_toolbar&lt;/name&gt;&lt;/action&gt;</pre>
<p>You need to look for these references they could be in the catalo.xml files a few times for different scenarios such as if the category is an anchor or layered navigation is used.</p>
<p>Once you have found this code you adjust the&lt;count&gt;number&lt;/count&gt; according to your layout / number of columns required.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentosnippets.com.gridhosted.co.uk/?feed=rss2&#038;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>more</title>
		<link>http://www.magentosnippets.com.gridhosted.co.uk/?p=9</link>
		<comments>http://www.magentosnippets.com.gridhosted.co.uk/?p=9#comments</comments>
		<pubDate>Wed, 18 Jan 2012 13:30:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.magentosnippets.com.gridhosted.co.uk/?p=9</guid>
		<description><![CDATA[&#60;?php echo ="hello world"&#62;]]></description>
			<content:encoded><![CDATA[<pre class="brush:php">&lt;?php echo ="hello world"&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.magentosnippets.com.gridhosted.co.uk/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php</title>
		<link>http://www.magentosnippets.com.gridhosted.co.uk/?p=7</link>
		<comments>http://www.magentosnippets.com.gridhosted.co.uk/?p=7#comments</comments>
		<pubDate>Wed, 18 Jan 2012 12:16:51 +0000</pubDate>
		<dc:creator>dja4mower</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.magentosnippets.com.gridhosted.co.uk/?p=7</guid>
		<description><![CDATA[[code]&#60;/php?&#62;[/code]]]></description>
			<content:encoded><![CDATA[<p>[code]&lt;/php?&gt;[/code]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentosnippets.com.gridhosted.co.uk/?feed=rss2&#038;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.magentosnippets.com.gridhosted.co.uk/?p=1</link>
		<comments>http://www.magentosnippets.com.gridhosted.co.uk/?p=1#comments</comments>
		<pubDate>Sun, 15 Jan 2012 18:33:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.magentosnippets.com.gridhosted.co.uk/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome  to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentosnippets.com.gridhosted.co.uk/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

