<?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: Moving the Toolbar to category/view.phtml</title>
	<atom:link href="http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 23:20:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sarlak</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-13295</link>
		<dc:creator>Sarlak</dc:creator>
		<pubDate>Fri, 30 Dec 2011 16:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-13295</guid>
		<description>Thank you so much ! And thanks to thomas sittig ! I spent hours on trying to move the toolbar from the content to one of the top level.

As Thomas I had to navigate through the tree to reach the correct data. Eventually I did this :
1.
I declared the block in a reference to root () in the part that interested me () and I used a new template to display just the toolbar. Ending in :

    
        
            
        
    

before_cw_main is the name of the block where I wanted to put my block

Then I wrote this in toolbar_container.phtml, just to get a clear code in the view

getParentBlock();

$content = $parent-&gt;getChild(&#039;content&#039;);
$categoryProducts = $content-&gt;getChild(&#039;category.products&#039;);
$productList = $categoryProducts-&gt;getChild(&#039;product_list&#039;);
$toolbar = $productList-&gt;getToolbarBlock();
$toolbar-&gt;setCollection($productList-&gt;getLoadedProductCollection());
echo $toolbar-&gt;toHtml();
?&gt;

With that, you can put this @#*%&amp; toolbar wherever you want ;-)

Thank you again for posting your solutions guys !</description>
		<content:encoded><![CDATA[<p>Thank you so much ! And thanks to thomas sittig ! I spent hours on trying to move the toolbar from the content to one of the top level.</p>
<p>As Thomas I had to navigate through the tree to reach the correct data. Eventually I did this :<br />
1.<br />
I declared the block in a reference to root () in the part that interested me () and I used a new template to display just the toolbar. Ending in :</p>
<p>before_cw_main is the name of the block where I wanted to put my block</p>
<p>Then I wrote this in toolbar_container.phtml, just to get a clear code in the view</p>
<p>getParentBlock();</p>
<p>$content = $parent-&gt;getChild(&#8216;content&#8217;);<br />
$categoryProducts = $content-&gt;getChild(&#8216;category.products&#8217;);<br />
$productList = $categoryProducts-&gt;getChild(&#8216;product_list&#8217;);<br />
$toolbar = $productList-&gt;getToolbarBlock();<br />
$toolbar-&gt;setCollection($productList-&gt;getLoadedProductCollection());<br />
echo $toolbar-&gt;toHtml();<br />
?&gt;</p>
<p>With that, you can put this @#*%&amp; toolbar wherever you want <img src='http://prattski.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Thank you again for posting your solutions guys !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syntax3rror</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-6409</link>
		<dc:creator>Syntax3rror</dc:creator>
		<pubDate>Tue, 12 Apr 2011 07:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-6409</guid>
		<description>Awesome!!!!

Thanks.</description>
		<content:encoded><![CDATA[<p>Awesome!!!!</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heena</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-5735</link>
		<dc:creator>heena</dc:creator>
		<pubDate>Sat, 05 Mar 2011 04:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-5735</guid>
		<description>Hi,

Here the solution posted for the show toolbar on the catalog view page , But what i want is to show toolbar on the 3column.phtml after the breadcrumbs ,  I have tried to create object of the product listing class and tried to implement this solution , but didn&#039;t work for me .. So any one here have any suggestion to implement this.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Here the solution posted for the show toolbar on the catalog view page , But what i want is to show toolbar on the 3column.phtml after the breadcrumbs ,  I have tried to create object of the product listing class and tried to implement this solution , but didn&#8217;t work for me .. So any one here have any suggestion to implement this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-4424</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Fri, 07 Jan 2011 11:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-4424</guid>
		<description>I just want to thank you. I was scratching my head on this and you really helped me.</description>
		<content:encoded><![CDATA[<p>I just want to thank you. I was scratching my head on this and you really helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mick</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-3625</link>
		<dc:creator>Mick</dc:creator>
		<pubDate>Tue, 14 Dec 2010 10:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-3625</guid>
		<description>Thanks for that, you saved me a lot of pain in what I was starting to realise wasn&#039;t a straightforward task</description>
		<content:encoded><![CDATA[<p>Thanks for that, you saved me a lot of pain in what I was starting to realise wasn&#8217;t a straightforward task</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-1802</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 11 Oct 2010 21:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-1802</guid>
		<description>Your awesome, thank  you.  I need to duplicate the toolbar at the bottom of the page, so there are 2 places to navigate from.  One at the top of the page and one at the bottom of the page. 

Worked perfect!</description>
		<content:encoded><![CDATA[<p>Your awesome, thank  you.  I need to duplicate the toolbar at the bottom of the page, so there are 2 places to navigate from.  One at the top of the page and one at the bottom of the page. </p>
<p>Worked perfect!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brando Bandit</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-980</link>
		<dc:creator>Brando Bandit</dc:creator>
		<pubDate>Fri, 20 Aug 2010 01:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-980</guid>
		<description>Thanks for this man! We have had the same problem!</description>
		<content:encoded><![CDATA[<p>Thanks for this man! We have had the same problem!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Ray</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-608</link>
		<dc:creator>Matthew Ray</dc:creator>
		<pubDate>Wed, 21 Jul 2010 19:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-608</guid>
		<description>I have a problem that I think is similar to this issue. I want to move just one section of the toolbar to the view.phtml file. The design I am creating for a client requires the pager element in a different section of the page. I have tried many different things to achieve this effect, to no avail. You have any thoughts?</description>
		<content:encoded><![CDATA[<p>I have a problem that I think is similar to this issue. I want to move just one section of the toolbar to the view.phtml file. The design I am creating for a client requires the pager element in a different section of the page. I have tried many different things to achieve this effect, to no avail. You have any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick A Pickett</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-471</link>
		<dc:creator>Rick A Pickett</dc:creator>
		<pubDate>Wed, 07 Jul 2010 21:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-471</guid>
		<description>Awesome, was having a heck of a time moving around layout code and phtml code. Works great in 1.4.1.0</description>
		<content:encoded><![CDATA[<p>Awesome, was having a heck of a time moving around layout code and phtml code. Works great in 1.4.1.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Pratt</title>
		<link>http://prattski.com/2008/11/19/magento-moving-the-toolbar-to-categoryviewphtml/#comment-224</link>
		<dc:creator>Josh Pratt</dc:creator>
		<pubDate>Tue, 02 Mar 2010 04:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=235#comment-224</guid>
		<description>Andrew:  Sorry man, it&#039;s been a really long time since I worked on that.  I&#039;m not sure..</description>
		<content:encoded><![CDATA[<p>Andrew:  Sorry man, it&#8217;s been a really long time since I worked on that.  I&#8217;m not sure..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

