<?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: Some custom Blocks to help you show products</title>
	<atom:link href="http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php</link>
	<description>Magento Design and Development Information</description>
	<lastBuildDate>Mon, 10 Jan 2011 07:35:46 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-1114</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 20 Dec 2010 18:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-1114</guid>
		<description>Does it work on Magento 1.4.2.0 ? THX</description>
		<content:encoded><![CDATA[<p>Does it work on Magento 1.4.2.0 ? THX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Name</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-1066</link>
		<dc:creator>Name</dc:creator>
		<pubDate>Tue, 09 Nov 2010 22:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-1066</guid>
		<description>fack</description>
		<content:encoded><![CDATA[<p>fack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Name</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-1048</link>
		<dc:creator>Name</dc:creator>
		<pubDate>Wed, 06 Oct 2010 17:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-1048</guid>
		<description>Sorry, my bad, the code in nav-static.php should read:

createBlock(&#039;catalog/navigation&#039;);

/* choose whatever category ID you want */
//$block-&gt;setCategoryId(3);
$block-&gt;setTemplate(&#039;catalog/navigation/top.phtml&#039;);

echo $block-&gt;renderView();

?&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, my bad, the code in nav-static.php should read:</p>
<p>createBlock(&#8217;catalog/navigation&#8217;);</p>
<p>/* choose whatever category ID you want */<br />
//$block-&gt;setCategoryId(3);<br />
$block-&gt;setTemplate(&#8217;catalog/navigation/top.phtml&#8217;);</p>
<p>echo $block-&gt;renderView();</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nan</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-1047</link>
		<dc:creator>Nan</dc:creator>
		<pubDate>Wed, 06 Oct 2010 17:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-1047</guid>
		<description>Thank for the awesome post. I was trying to pull the Magento navigation into a static page external to Magento (some referral forms that wouldn&#039;t render nicely from within Magento). Here&#039;s what worked for me:

- I created a php file I called nav-static.php in the site root 
- I placed the following in nav-static.php:
------------------------------------------------------
createBlock(&#039;catalog/navigation&#039;);

$block-&gt;setTemplate(&#039;catalog/navigation/top.phtml&#039;);

echo $block-&gt;renderView();

?&gt;
------------------------------------------------------

I then created the actual php page external to magento. This is the page that will be displayed to visitors as the referral form page on the website. I called this page referral-form.php. I first hand-coded the entire static page so that it looks like the magento pages. Then, in the  where the main menu should appear on this static page, I added this include - the include calls the nav-static.php file and displays the output in the left-hand menu sidebar:
                                                
		 

I&#039;m so relieved that menu updates (new categories and sub-categories added) in Magento will autmatically display in the main menu  on my static page. 

Job done! Thank you so much, life saver! :-)</description>
		<content:encoded><![CDATA[<p>Thank for the awesome post. I was trying to pull the Magento navigation into a static page external to Magento (some referral forms that wouldn&#8217;t render nicely from within Magento). Here&#8217;s what worked for me:</p>
<p>- I created a php file I called nav-static.php in the site root<br />
- I placed the following in nav-static.php:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
createBlock(&#8217;catalog/navigation&#8217;);</p>
<p>$block-&gt;setTemplate(&#8217;catalog/navigation/top.phtml&#8217;);</p>
<p>echo $block-&gt;renderView();</p>
<p>?&gt;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I then created the actual php page external to magento. This is the page that will be displayed to visitors as the referral form page on the website. I called this page referral-form.php. I first hand-coded the entire static page so that it looks like the magento pages. Then, in the  where the main menu should appear on this static page, I added this include &#8211; the include calls the nav-static.php file and displays the output in the left-hand menu sidebar:</p>
<p>I&#8217;m so relieved that menu updates (new categories and sub-categories added) in Magento will autmatically display in the main menu  on my static page. </p>
<p>Job done! Thank you so much, life saver! <img src='http://www.exploremagento.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEM Truth</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-975</link>
		<dc:creator>SEM Truth</dc:creator>
		<pubDate>Tue, 08 Jun 2010 17:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-975</guid>
		<description>I have however noticed that when inserting a product list in this manner:

{{block type=&quot;catalog/productlist&quot; categoryid=&quot;35&quot; template=&quot;catalog/product/list.phtml&quot;}}

...the list of products does not include the category pagination links or what Magento templates seem to refer to as pager.

Within the list.phtml file I notice the call to the toolbar: getToolbarHtml() ?&gt;

And the toolbar does in fact include the pager code. Is there a layout file that needs to be updated?

What is the section that specifically controls a simple product list that you would call from a static block?

Static Blocks don&#039;t necessarily have xml layout updates where you can add the following to insert the page list in the product listing toolbar:

</description>
		<content:encoded><![CDATA[<p>I have however noticed that when inserting a product list in this manner:</p>
<p>{{block type=&#8221;catalog/productlist&#8221; categoryid=&#8221;35&#8243; template=&#8221;catalog/product/list.phtml&#8221;}}</p>
<p>&#8230;the list of products does not include the category pagination links or what Magento templates seem to refer to as pager.</p>
<p>Within the list.phtml file I notice the call to the toolbar: getToolbarHtml() ?&gt;</p>
<p>And the toolbar does in fact include the pager code. Is there a layout file that needs to be updated?</p>
<p>What is the section that specifically controls a simple product list that you would call from a static block?</p>
<p>Static Blocks don&#8217;t necessarily have xml layout updates where you can add the following to insert the page list in the product listing toolbar:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Name</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-961</link>
		<dc:creator>Name</dc:creator>
		<pubDate>Thu, 13 May 2010 15:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-961</guid>
		<description>how to unblock this block if I wanted to</description>
		<content:encoded><![CDATA[<p>how to unblock this block if I wanted to</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nithin Chacko Ninan</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-932</link>
		<dc:creator>Nithin Chacko Ninan</dc:creator>
		<pubDate>Mon, 12 Apr 2010 08:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-932</guid>
		<description>Replace with these lines for the new product – attribute custom module.

-&gt;addAttributeToSelect(array(’name’, ‘price’, ’small_image’), ‘inner’)
-&gt;addAttributeToSelect(array(’special_price’, ’special_from_date’, ’special_to_date’), ‘left’);</description>
		<content:encoded><![CDATA[<p>Replace with these lines for the new product – attribute custom module.</p>
<p>-&gt;addAttributeToSelect(array(’name’, ‘price’, ’small_image’), ‘inner’)<br />
-&gt;addAttributeToSelect(array(’special_price’, ’special_from_date’, ’special_to_date’), ‘left’);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nithin</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-931</link>
		<dc:creator>Nithin</dc:creator>
		<pubDate>Mon, 12 Apr 2010 08:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-931</guid>
		<description>Fatal error: Call to a member function isStatic() on a non-object in D:\xampp\htdocs\magento\app\code\core\Mage\Eav\Model\Entity\Collection\Abstract.php on line 373

Replace with these lines for the new product - attribute  custom module.

	-&gt;addAttributeToSelect(array(&#039;name&#039;, &#039;price&#039;, &#039;small_image&#039;), &#039;inner&#039;)			
			-&gt;addAttributeToSelect(array(&#039;special_price&#039;, &#039;special_from_date&#039;, &#039;special_to_date&#039;), &#039;left&#039;);</description>
		<content:encoded><![CDATA[<p>Fatal error: Call to a member function isStatic() on a non-object in D:\xampp\htdocs\magento\app\code\core\Mage\Eav\Model\Entity\Collection\Abstract.php on line 373</p>
<p>Replace with these lines for the new product &#8211; attribute  custom module.</p>
<p>	-&gt;addAttributeToSelect(array(&#8217;name&#8217;, &#8216;price&#8217;, &#8217;small_image&#8217;), &#8216;inner&#8217;)<br />
			-&gt;addAttributeToSelect(array(&#8217;special_price&#8217;, &#8217;special_from_date&#8217;, &#8217;special_to_date&#8217;), &#8216;left&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nithin</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-930</link>
		<dc:creator>Nithin</dc:creator>
		<pubDate>Mon, 12 Apr 2010 08:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-930</guid>
		<description>Replace the line
-&gt;addAttributeToSelect(array(’name’, ‘price’, ’small_image’, ’short_description’, ‘description’, ‘author’), ‘inner’)

with
-&gt;addAttributeToSelect(array(’name’, ‘price’, ’small_image’, ’short_description’, ‘description’), ‘inner’)

or just remove the
, ‘author’</description>
		<content:encoded><![CDATA[<p>Replace the line<br />
-&gt;addAttributeToSelect(array(’name’, ‘price’, ’small_image’, ’short_description’, ‘description’, ‘author’), ‘inner’)</p>
<p>with<br />
-&gt;addAttributeToSelect(array(’name’, ‘price’, ’small_image’, ’short_description’, ‘description’), ‘inner’)</p>
<p>or just remove the<br />
, ‘author’</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dinesh</title>
		<link>http://www.exploremagento.com/magento/some-custom-blocks-to-help-you-show-products.php/comment-page-1#comment-736</link>
		<dc:creator>dinesh</dc:creator>
		<pubDate>Wed, 16 Sep 2009 12:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=129#comment-736</guid>
		<description>Thanks buddy ............</description>
		<content:encoded><![CDATA[<p>Thanks buddy &#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

