<?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: Add breadcrumbs in Magento to pages that don&#8217;t have them</title>
	<atom:link href="http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/feed" rel="self" type="application/rss+xml" />
	<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them</link>
	<description>Blog site of Branko Ajzele, web application developer.</description>
	<lastBuildDate>Thu, 09 Sep 2010 17:45:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Melkkoe</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-4893</link>
		<dc:creator>Melkkoe</dc:creator>
		<pubDate>Thu, 26 Aug 2010 09:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-4893</guid>
		<description>Branko, Thanks for sharring this!

CHEERS</description>
		<content:encoded><![CDATA[<p>Branko, Thanks for sharring this!</p>
<p>CHEERS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-4300</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sun, 20 Sep 2009 21:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-4300</guid>
		<description>This was helpful to me for adding breadcrumbs: http://www.magentocommerce.com/boards/viewthread/3890/P15/#t104118</description>
		<content:encoded><![CDATA[<p>This was helpful to me for adding breadcrumbs: <a href="http://www.magentocommerce.com/boards/viewthread/3890/P15/#t104118" rel="nofollow">http://www.magentocommerce.com/boards/viewthread/3890/P15/#t104118</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-5379</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sun, 20 Sep 2009 21:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-5379</guid>
		<description>This was helpful to me for adding breadcrumbs: http://www.magentocommerce.com/boards/viewthread/3890/P15/#t104118</description>
		<content:encoded><![CDATA[<p>This was helpful to me for adding breadcrumbs: <a href="http://www.magentocommerce.com/boards/viewthread/3890/P15/#t104118" rel="nofollow">http://www.magentocommerce.com/boards/viewthread/3890/P15/#t104118</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david baiguini</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-4159</link>
		<dc:creator>david baiguini</dc:creator>
		<pubDate>Thu, 20 Aug 2009 09:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-4159</guid>
		<description>Just add :
Mage::getBlockSingleton(&#039;catalog/breadcrumbs&#039;)

at the top of your breadcrumbs file
\template\page\html\breadcrumbs.phtml

Now, you can call your breadcrumbs everywhere you want !</description>
		<content:encoded><![CDATA[<p>Just add :<br />
Mage::getBlockSingleton(&#8216;catalog/breadcrumbs&#8217;)</p>
<p>at the top of your breadcrumbs file<br />
\template\page\html\breadcrumbs.phtml</p>
<p>Now, you can call your breadcrumbs everywhere you want !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david baiguini</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-5378</link>
		<dc:creator>david baiguini</dc:creator>
		<pubDate>Thu, 20 Aug 2009 09:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-5378</guid>
		<description>Just add :
Mage::getBlockSingleton(&#039;catalog/breadcrumbs&#039;)

at the top of your breadcrumbs file
templatepagehtmlbreadcrumbs.phtml

Now, you can call your breadcrumbs everywhere you want !</description>
		<content:encoded><![CDATA[<p>Just add :<br />
Mage::getBlockSingleton(&#8216;catalog/breadcrumbs&#8217;)</p>
<p>at the top of your breadcrumbs file<br />
templatepagehtmlbreadcrumbs.phtml</p>
<p>Now, you can call your breadcrumbs everywhere you want !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuenyiupang</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-4129</link>
		<dc:creator>Yuenyiupang</dc:creator>
		<pubDate>Fri, 07 Aug 2009 05:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-4129</guid>
		<description>Hi branko, thx for your advise

i just have many question about magento

but first of all , the breadcrumb, 

i have a custom module named Forum, and with controller named indexController and with 2 action, index action and add action

therefore if i want to have the breadcumb in my custom phtml, 
like home/forum

what can i do</description>
		<content:encoded><![CDATA[<p>Hi branko, thx for your advise</p>
<p>i just have many question about magento</p>
<p>but first of all , the breadcrumb, </p>
<p>i have a custom module named Forum, and with controller named indexController and with 2 action, index action and add action</p>
<p>therefore if i want to have the breadcumb in my custom phtml,<br />
like home/forum</p>
<p>what can i do</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuenyiupang</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-5377</link>
		<dc:creator>Yuenyiupang</dc:creator>
		<pubDate>Fri, 07 Aug 2009 05:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-5377</guid>
		<description>Hi branko, thx for your advise

i just have many question about magento

but first of all , the breadcrumb, 

i have a custom module named Forum, and with controller named indexController and with 2 action, index action and add action

therefore if i want to have the breadcumb in my custom phtml, 
like home/forum

what can i do</description>
		<content:encoded><![CDATA[<p>Hi branko, thx for your advise</p>
<p>i just have many question about magento</p>
<p>but first of all , the breadcrumb, </p>
<p>i have a custom module named Forum, and with controller named indexController and with 2 action, index action and add action</p>
<p>therefore if i want to have the breadcumb in my custom phtml,<br />
like home/forum</p>
<p>what can i do</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-3468</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Thu, 19 Mar 2009 14:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-3468</guid>
		<description>Just found another shorter variant:
&lt;code&gt;if (is_null($crumbs)) {
    $headBlock = $this-&gt;getLayout()-&gt;getblock(&#039;head&#039;);
    $title = $headBlock-&gt;getTitle();
    // Build breadcrumb navigation
    $crumbs[&#039;home&#039;] = array(
                       &#039;label&#039;    =&gt; $this-&gt;__(&#039;Home&#039;),
                       &#039;link&#039;     =&gt; Mage::getBaseUrl(),
                       &#039;title&#039;    =&gt; null,
                       &#039;first&#039;    =&gt; true,
                       &#039;last&#039;     =&gt; null,
                       &#039;readonly&#039; =&gt; null,
                      );
    $crumbs[&#039;page&#039;] = array(
                       &#039;label&#039;    =&gt; $title,
                       &#039;link&#039;     =&gt; null,
                       &#039;title&#039;    =&gt; null,
                       &#039;first&#039;    =&gt; null,
                       &#039;last&#039;     =&gt; null,
                       &#039;readonly&#039; =&gt; null,
                      );
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Just found another shorter variant:<br />
<code>if (is_null($crumbs)) {<br />
    $headBlock = $this-&gt;getLayout()-&gt;getblock('head');<br />
    $title = $headBlock-&gt;getTitle();<br />
    // Build breadcrumb navigation<br />
    $crumbs['home'] = array(<br />
                       'label'    =&gt; $this-&gt;__('Home'),<br />
                       'link'     =&gt; Mage::getBaseUrl(),<br />
                       'title'    =&gt; null,<br />
                       'first'    =&gt; true,<br />
                       'last'     =&gt; null,<br />
                       'readonly' =&gt; null,<br />
                      );<br />
    $crumbs['page'] = array(<br />
                       'label'    =&gt; $title,<br />
                       'link'     =&gt; null,<br />
                       'title'    =&gt; null,<br />
                       'first'    =&gt; null,<br />
                       'last'     =&gt; null,<br />
                       'readonly' =&gt; null,<br />
                      );<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-5376</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Thu, 19 Mar 2009 14:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-5376</guid>
		<description>Just found another shorter variant:
&lt;code&gt;if (is_null($crumbs)) {
    $headBlock = $this-&gt;getLayout()-&gt;getblock(&#039;head&#039;);
    $title = $headBlock-&gt;getTitle();
    // Build breadcrumb navigation
    $crumbs[&#039;home&#039;] = array(
                       &#039;label&#039;    =&gt; $this-&gt;__(&#039;Home&#039;),
                       &#039;link&#039;     =&gt; Mage::getBaseUrl(),
                       &#039;title&#039;    =&gt; null,
                       &#039;first&#039;    =&gt; true,
                       &#039;last&#039;     =&gt; null,
                       &#039;readonly&#039; =&gt; null,
                      );
    $crumbs[&#039;page&#039;] = array(
                       &#039;label&#039;    =&gt; $title,
                       &#039;link&#039;     =&gt; null,
                       &#039;title&#039;    =&gt; null,
                       &#039;first&#039;    =&gt; null,
                       &#039;last&#039;     =&gt; null,
                       &#039;readonly&#039; =&gt; null,
                      );
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Just found another shorter variant:<br />
<code>if (is_null($crumbs)) {<br />
    $headBlock = $this-&gt;getLayout()-&gt;getblock('head');<br />
    $title = $headBlock-&gt;getTitle();<br />
    // Build breadcrumb navigation<br />
    $crumbs['home'] = array(<br />
                       'label'    =&gt; $this-&gt;__('Home'),<br />
                       'link'     =&gt; Mage::getBaseUrl(),<br />
                       'title'    =&gt; null,<br />
                       'first'    =&gt; true,<br />
                       'last'     =&gt; null,<br />
                       'readonly' =&gt; null,<br />
                      );<br />
    $crumbs['page'] = array(<br />
                       'label'    =&gt; $title,<br />
                       'link'     =&gt; null,<br />
                       'title'    =&gt; null,<br />
                       'first'    =&gt; null,<br />
                       'last'     =&gt; null,<br />
                       'readonly' =&gt; null,<br />
                      );<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://activecodeline.com/add-breadcrumbs-in-magento-to-pages-that-dont-have-them/comment-page-1#comment-3467</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Thu, 19 Mar 2009 14:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=508#comment-3467</guid>
		<description>Thanks, was exactly, what I was looking for. I changed it so that it uses the (in my case already altered) existing output loop. Also it didn&#039;t work with &lt;code&gt;$urlRequest-&gt;getServer(&#039;ORIG_PATH_INFO&#039;);&lt;/code&gt;:
&lt;code&gt;
if (is_null($crumbs)) {
    $urlRequest = Mage::app()-&gt;getFrontController()-&gt;getRequest();
    $urlPart = $urlRequest-&gt;getOriginalPathInfo();

    if(is_null($urlPart))
    {
        $urlPart = $urlRequest-&gt;getPathInfo();
    }

    $urlPart = substr($urlPart, 1);
    $currentUrl = $this-&gt;getUrl($urlPart);

    $controllerName = str_replace(&quot;/&quot;, &quot; &quot;, $urlPart);
    $controllerName = str_replace(&quot;_&quot;, &quot; &quot;, $controllerName);
    $controllerName = str_replace(&quot;-&quot;, &quot; &quot;, $controllerName);
    $controllerName = ucfirst($controllerName);

    // Build breadcrumb navigation
    $crumbs[&#039;home&#039;] = array(
                       &#039;label&#039;    =&gt; $this-&gt;__(&#039;Home&#039;),
                       &#039;link&#039;     =&gt; Mage::getBaseUrl(),
                       &#039;title&#039;    =&gt; null,
                       &#039;first&#039;    =&gt; true,
                       &#039;last&#039;     =&gt; null,
                       &#039;readonly&#039; =&gt; null,
                      );
    $crumbs[&#039;page&#039;] = array(
                       &#039;label&#039;    =&gt; $this-&gt;__($controllerName),
                       &#039;link&#039;     =&gt; null,
                       &#039;title&#039;    =&gt; null,
                       &#039;first&#039;    =&gt; null,
                       &#039;last&#039;     =&gt; null,
                       &#039;readonly&#039; =&gt; null,
                      );
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Thanks, was exactly, what I was looking for. I changed it so that it uses the (in my case already altered) existing output loop. Also it didn&#8217;t work with <code>$urlRequest-&gt;getServer('ORIG_PATH_INFO');</code>:<br />
<code><br />
if (is_null($crumbs)) {<br />
    $urlRequest = Mage::app()-&gt;getFrontController()-&gt;getRequest();<br />
    $urlPart = $urlRequest-&gt;getOriginalPathInfo();</p>
<p>    if(is_null($urlPart))<br />
    {<br />
        $urlPart = $urlRequest-&gt;getPathInfo();<br />
    }</p>
<p>    $urlPart = substr($urlPart, 1);<br />
    $currentUrl = $this-&gt;getUrl($urlPart);</p>
<p>    $controllerName = str_replace("/", " ", $urlPart);<br />
    $controllerName = str_replace("_", " ", $controllerName);<br />
    $controllerName = str_replace("-", " ", $controllerName);<br />
    $controllerName = ucfirst($controllerName);</p>
<p>    // Build breadcrumb navigation<br />
    $crumbs['home'] = array(<br />
                       'label'    =&gt; $this-&gt;__('Home'),<br />
                       'link'     =&gt; Mage::getBaseUrl(),<br />
                       'title'    =&gt; null,<br />
                       'first'    =&gt; true,<br />
                       'last'     =&gt; null,<br />
                       'readonly' =&gt; null,<br />
                      );<br />
    $crumbs['page'] = array(<br />
                       'label'    =&gt; $this-&gt;__($controllerName),<br />
                       'link'     =&gt; null,<br />
                       'title'    =&gt; null,<br />
                       'first'    =&gt; null,<br />
                       'last'     =&gt; null,<br />
                       'readonly' =&gt; null,<br />
                      );<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
