<?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: Zend_Navigation – creating a menu, a sitemap and breadcrumbs</title>
	<atom:link href="http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/</link>
	<description>free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:49:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: K. shahzad</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-25006</link>
		<dc:creator>K. shahzad</dc:creator>
		<pubDate>Fri, 28 Oct 2011 12:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-25006</guid>
		<description>This is great tutorial however the following line gives blank, shows nothing on screen for zend 1.11

echo $this-&gt;navigation()-&gt;breadcrumbs()-&gt;setMinDepth(0)-&gt;setLinkLast(true)-&gt;setSeparator(&quot;  /  &quot;); 

Seems like issue stars back in controller from these two lines.
$activeNav=$this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
$activeNav-&gt;active=true;

because line before these was giving path correctly.
Please advise if something regarding this changed for 1.11

mine is zend 1.11.11</description>
		<content:encoded><![CDATA[<p>This is great tutorial however the following line gives blank, shows nothing on screen for zend 1.11</p>
<p>echo $this-&gt;navigation()-&gt;breadcrumbs()-&gt;setMinDepth(0)-&gt;setLinkLast(true)-&gt;setSeparator(&#8221;  /  &#8220;); </p>
<p>Seems like issue stars back in controller from these two lines.<br />
$activeNav=$this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
$activeNav-&gt;active=true;</p>
<p>because line before these was giving path correctly.<br />
Please advise if something regarding this changed for 1.11</p>
<p>mine is zend 1.11.11</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: italo</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-23648</link>
		<dc:creator>italo</dc:creator>
		<pubDate>Tue, 27 Sep 2011 18:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-23648</guid>
		<description>hello, very good video, now a question as I can add a class to the second level UL ....

Thank you,

example:

      home
      users
       
               New
               Delete
        
</description>
		<content:encoded><![CDATA[<p>hello, very good video, now a question as I can add a class to the second level UL &#8230;.</p>
<p>Thank you,</p>
<p>example:</p>
<p>      home<br />
      users</p>
<p>               New<br />
               Delete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DouDoy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-22715</link>
		<dc:creator>DouDoy</dc:creator>
		<pubDate>Wed, 31 Aug 2011 19:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-22715</guid>
		<description>Hi everyone !
have a look on my website ! ;)
Bye</description>
		<content:encoded><![CDATA[<p>Hi everyone !<br />
have a look on my website ! <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kitesurf granada</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-22569</link>
		<dc:creator>kitesurf granada</dc:creator>
		<pubDate>Sat, 27 Aug 2011 11:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-22569</guid>
		<description>Nice cast!! It was very very helpfull!! Thanks a lot for putting it together!</description>
		<content:encoded><![CDATA[<p>Nice cast!! It was very very helpfull!! Thanks a lot for putting it together!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Stewart</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-20976</link>
		<dc:creator>Steven Stewart</dc:creator>
		<pubDate>Fri, 15 Jul 2011 15:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-20976</guid>
		<description>I&#039;m using XAMPP with Zend Framework 1.11.8 on Mac OS X (Snow Leopard). This tutorial worked out fine for me, except that I had to make a couple of changes, which others too may encounter.

I called my web site &quot;flix&quot; for the tutorial, and I didn&#039;t set up a virtual host. For this reason, I had to prepend &#039;/flix/public&#039; to the URIs that were added in the navigation.xml file.


	About
	/flix/public/index/about


Then, in order for the breadcrumbs to work, I had to do the same thing, for the init() function in the IndexController as follows:

    public function init()
    {
    	$uriPrepend = &#039;/flix/public&#039;;
        $uri = $this-&gt;_request-&gt;getPathInfo();
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uriPrepend . $uri);
        $activeNav-&gt;active = true;
    }

This got everything working for the tutorial with my setup.

I was confused about where the findByUri() function came from, until I read this page  http://framework.zend.com/manual/en/zend.navigation.containers.html, and learning that the findByUri() function is really a &quot;magic&quot; function call. Scroll down to the section called &quot;Finding Pages&quot; on that site.

No doubt, others will have the same problems that I had, so I hope this helps.

To the author, thanks for the zendcasts!

Steven</description>
		<content:encoded><![CDATA[<p>I&#8217;m using XAMPP with Zend Framework 1.11.8 on Mac OS X (Snow Leopard). This tutorial worked out fine for me, except that I had to make a couple of changes, which others too may encounter.</p>
<p>I called my web site &#8220;flix&#8221; for the tutorial, and I didn&#8217;t set up a virtual host. For this reason, I had to prepend &#8216;/flix/public&#8217; to the URIs that were added in the navigation.xml file.</p>
<p>	About<br />
	/flix/public/index/about</p>
<p>Then, in order for the breadcrumbs to work, I had to do the same thing, for the init() function in the IndexController as follows:</p>
<p>    public function init()<br />
    {<br />
    	$uriPrepend = &#8216;/flix/public&#8217;;<br />
        $uri = $this-&gt;_request-&gt;getPathInfo();<br />
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uriPrepend . $uri);<br />
        $activeNav-&gt;active = true;<br />
    }</p>
<p>This got everything working for the tutorial with my setup.</p>
<p>I was confused about where the findByUri() function came from, until I read this page  <a href="http://framework.zend.com/manual/en/zend.navigation.containers.html" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.containers.html</a>, and learning that the findByUri() function is really a &#8220;magic&#8221; function call. Scroll down to the section called &#8220;Finding Pages&#8221; on that site.</p>
<p>No doubt, others will have the same problems that I had, so I hope this helps.</p>
<p>To the author, thanks for the zendcasts!</p>
<p>Steven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-19269</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Fri, 03 Jun 2011 02:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-19269</guid>
		<description>Hi,

I just followed your video on the zend menus, breadcrumbs and sitemap. I thought I wrote something wrong as I followed the video so I downloaded the zip files and move them to my localhost but I couldn&#039;t see the menu. Same thing I got when I followed the videos. Is there something I missing? I am using the latest ZendFramework platform. Any ideas would be greatly appreciated.

Regards,

Carlos</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just followed your video on the zend menus, breadcrumbs and sitemap. I thought I wrote something wrong as I followed the video so I downloaded the zip files and move them to my localhost but I couldn&#8217;t see the menu. Same thing I got when I followed the videos. Is there something I missing? I am using the latest ZendFramework platform. Any ideas would be greatly appreciated.</p>
<p>Regards,</p>
<p>Carlos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DouDoy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-18981</link>
		<dc:creator>DouDoy</dc:creator>
		<pubDate>Fri, 27 May 2011 06:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-18981</guid>
		<description>Hi Everyone, 
Take a look on my website, I&#039;ve used zend navigation with all source code on it.
Bye
DouDoy</description>
		<content:encoded><![CDATA[<p>Hi Everyone,<br />
Take a look on my website, I&#8217;ve used zend navigation with all source code on it.<br />
Bye<br />
DouDoy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Peterson</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-18968</link>
		<dc:creator>Jack Peterson</dc:creator>
		<pubDate>Thu, 26 May 2011 21:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-18968</guid>
		<description>@zorf:

I got the same error... you probably have  not nested inside 

structure should be




...





Once it&#039;s inside the  node, it should work fine.</description>
		<content:encoded><![CDATA[<p>@zorf:</p>
<p>I got the same error&#8230; you probably have  not nested inside </p>
<p>structure should be</p>
<p>&#8230;</p>
<p>Once it&#8217;s inside the  node, it should work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Bracewell</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-18632</link>
		<dc:creator>Mike Bracewell</dc:creator>
		<pubDate>Wed, 18 May 2011 12:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-18632</guid>
		<description>Thank you so much for this - its a supurb tutorial - one of tebest ive seen on zend</description>
		<content:encoded><![CDATA[<p>Thank you so much for this &#8211; its a supurb tutorial &#8211; one of tebest ive seen on zend</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zorph</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-18410</link>
		<dc:creator>zorph</dc:creator>
		<pubDate>Thu, 12 May 2011 16:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-18410</guid>
		<description>getting an error on new Zend_Navigation($config)  running ZF 1.11


Fatal error: Uncaught exception &#039;Zend_Navigation_Exception&#039; with message &#039;Invalid argument: Unable to determine class to instantiate&#039;

Zend_Navigation-&gt;__construct(Object(Zend_Config_Xml))</description>
		<content:encoded><![CDATA[<p>getting an error on new Zend_Navigation($config)  running ZF 1.11</p>
<p>Fatal error: Uncaught exception &#8216;Zend_Navigation_Exception&#8217; with message &#8216;Invalid argument: Unable to determine class to instantiate&#8217;</p>
<p>Zend_Navigation-&gt;__construct(Object(Zend_Config_Xml))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anze</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-18008</link>
		<dc:creator>Anze</dc:creator>
		<pubDate>Sun, 01 May 2011 10:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-18008</guid>
		<description>Dovla: you can always create array for dynamic navigation creation. This should help:
http://framework.zend.com/manual/en/zend.navigation.containers.html</description>
		<content:encoded><![CDATA[<p>Dovla: you can always create array for dynamic navigation creation. This should help:<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.containers.html" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.containers.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaHaiz</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-17887</link>
		<dc:creator>DaHaiz</dc:creator>
		<pubDate>Wed, 27 Apr 2011 16:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-17887</guid>
		<description>Thanks! That was very very useful!</description>
		<content:encoded><![CDATA[<p>Thanks! That was very very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gatson</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-16994</link>
		<dc:creator>Gatson</dc:creator>
		<pubDate>Thu, 07 Apr 2011 18:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-16994</guid>
		<description>Thank you Jon, Great Tutorial!!</description>
		<content:encoded><![CDATA[<p>Thank you Jon, Great Tutorial!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dovla</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-16657</link>
		<dc:creator>Dovla</dc:creator>
		<pubDate>Tue, 29 Mar 2011 15:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-16657</guid>
		<description>Is thee any cast about dinamicaly creating menus, pages in Zend FW?
Is it possible at all?
Thanks for this cast, its pretty much straght forward and easy to make.
But i would like to know about how to create not hardcoded menu.
Create a page with a form, add new menu item in database, and then add some content to that menu page. :) that would be nice to know how to make.
Thanks for your video tho :)</description>
		<content:encoded><![CDATA[<p>Is thee any cast about dinamicaly creating menus, pages in Zend FW?<br />
Is it possible at all?<br />
Thanks for this cast, its pretty much straght forward and easy to make.<br />
But i would like to know about how to create not hardcoded menu.<br />
Create a page with a form, add new menu item in database, and then add some content to that menu page. <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  that would be nice to know how to make.<br />
Thanks for your video tho <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Navigation, breadcrumbs</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-16488</link>
		<dc:creator>Zend_Navigation, breadcrumbs</dc:creator>
		<pubDate>Thu, 24 Mar 2011 01:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-16488</guid>
		<description>[...] I was sure I&#039;d seen it done somewhere. So I had a look around and I found this old bookmark.  LINK  It might be worth a run through to see if you can spot another cause. Having said that, my [...]</description>
		<content:encoded><![CDATA[<p>[...] I was sure I&#039;d seen it done somewhere. So I had a look around and I found this old bookmark.  LINK  It might be worth a run through to see if you can spot another cause. Having said that, my [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SupaChelsea</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-15957</link>
		<dc:creator>SupaChelsea</dc:creator>
		<pubDate>Sat, 05 Mar 2011 22:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-15957</guid>
		<description>oh, html tags on...

So this is how I need to display the breadcrumbs...
[code]
&lt;!-- No link page title or seperator --&gt;
&lt;!-- Link&lt;/a&gt; --&gt;
[/code]</description>
		<content:encoded><![CDATA[<p>oh, html tags on&#8230;</p>
<p>So this is how I need to display the breadcrumbs&#8230;<br />
[code]<br />
&lt;!-- No link page title or seperator --&gt;<br />
&lt;!-- Link --&gt;<br />
[/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SupaChelsea</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-15956</link>
		<dc:creator>SupaChelsea</dc:creator>
		<pubDate>Sat, 05 Mar 2011 22:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-15956</guid>
		<description>Jon,

Thank you, It works great! Can you help me edit the standard, or at least point me in the right direction?

I need to customise the bread crumbs css/class name and have it render slighly diffrently...

Non active link or the separator
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Active link&lt;/a&gt;

at the moment it renders with a class name of &quot;breadcrumbs&quot;..

hope this makes sence!</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>Thank you, It works great! Can you help me edit the standard, or at least point me in the right direction?</p>
<p>I need to customise the bread crumbs css/class name and have it render slighly diffrently&#8230;</p>
<p>Non active link or the separator<br />
<a href="#" rel="nofollow">Active link</a></p>
<p>at the moment it renders with a class name of &#8220;breadcrumbs&#8221;..</p>
<p>hope this makes sence!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: houssem</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-15923</link>
		<dc:creator>houssem</dc:creator>
		<pubDate>Fri, 04 Mar 2011 17:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-15923</guid>
		<description>thx you really helpfull :)</description>
		<content:encoded><![CDATA[<p>thx you really helpfull <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-15722</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 26 Feb 2011 14:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-15722</guid>
		<description>Hey man great tutorial!!!!</description>
		<content:encoded><![CDATA[<p>Hey man great tutorial!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-15676</link>
		<dc:creator>Diego</dc:creator>
		<pubDate>Thu, 24 Feb 2011 22:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-15676</guid>
		<description>Thanks Jon this ZendCast rocks!

I have the same trouble than memo23, 

I am having problems with breadcrumbs and i am getting “Strict standards”.
when i do:
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
var_dump( $activeNav);exit;
I am getting “null”.

Can somebody help me on this?
Thanks</description>
		<content:encoded><![CDATA[<p>Thanks Jon this ZendCast rocks!</p>
<p>I have the same trouble than memo23, </p>
<p>I am having problems with breadcrumbs and i am getting “Strict standards”.<br />
when i do:<br />
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
var_dump( $activeNav);exit;<br />
I am getting “null”.</p>
<p>Can somebody help me on this?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-15295</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 11 Feb 2011 15:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-15295</guid>
		<description>Cool! Thanks.</description>
		<content:encoded><![CDATA[<p>Cool! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: memo23</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-14224</link>
		<dc:creator>memo23</dc:creator>
		<pubDate>Tue, 04 Jan 2011 16:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-14224</guid>
		<description>i am having problems with breadcrumbs and i am getting &quot;Strict standards&quot;.
when i do:
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);	
var_dump( $activeNav);exit;
I am getting &quot;null&quot;.

Can somebody help me on this?
Thx</description>
		<content:encoded><![CDATA[<p>i am having problems with breadcrumbs and i am getting &#8220;Strict standards&#8221;.<br />
when i do:<br />
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
var_dump( $activeNav);exit;<br />
I am getting &#8220;null&#8221;.</p>
<p>Can somebody help me on this?<br />
Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maciej P</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-13906</link>
		<dc:creator>Maciej P</dc:creator>
		<pubDate>Mon, 27 Dec 2010 05:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-13906</guid>
		<description>sorry for posting under post but please delete this and my last post because ive pase wrong pice of code... sorry for that.</description>
		<content:encoded><![CDATA[<p>sorry for posting under post but please delete this and my last post because ive pase wrong pice of code&#8230; sorry for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maciej P</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-13904</link>
		<dc:creator>Maciej P</dc:creator>
		<pubDate>Mon, 27 Dec 2010 05:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-13904</guid>
		<description>In &#039;application/config.ini&#039;:
...
resources.frontController.plugins.Navigation    = &quot;APP_Controller_Plugin_Navigation&quot;
...

In &#039;library/App/Controller/Plugin/Navigation.php&#039;:
initView();
			$view = $viewRenderer-&gt;view;
            $uri = $request-&gt;getPathInfo();
            $activeUri = $view-&gt;navigation()-&gt;findByUri($uri);
            $activeUri-&gt;active = true;
            $html = $view-&gt;navigation()
                        -&gt;breadcrumbs()
                        -&gt;setMinDepth(0)
                        -&gt;setLinkLast(true)
                        -&gt;setSeparator(&#039; &gt; &#039;);
		}
	}

Believe that this could help ;]</description>
		<content:encoded><![CDATA[<p>In &#8216;application/config.ini&#8217;:<br />
&#8230;<br />
resources.frontController.plugins.Navigation    = &#8220;APP_Controller_Plugin_Navigation&#8221;<br />
&#8230;</p>
<p>In &#8216;library/App/Controller/Plugin/Navigation.php&#8217;:<br />
initView();<br />
			$view = $viewRenderer-&gt;view;<br />
            $uri = $request-&gt;getPathInfo();<br />
            $activeUri = $view-&gt;navigation()-&gt;findByUri($uri);<br />
            $activeUri-&gt;active = true;<br />
            $html = $view-&gt;navigation()<br />
                        -&gt;breadcrumbs()<br />
                        -&gt;setMinDepth(0)<br />
                        -&gt;setLinkLast(true)<br />
                        -&gt;setSeparator(&#8216; &gt; &#8216;);<br />
		}<br />
	}</p>
<p>Believe that this could help ;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-13718</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 22 Dec 2010 06:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-13718</guid>
		<description>I had trouble adding the &quot;about&quot; and &quot;contact&quot; actions/views.  I followed everything in this tutorial perfectly but when clicking links for about and contact I always got errors that it wasn&#039;t found. In case it happens to anyone else, I found the solution in the ZF Quickstart guide. Create a virtual host by adding this to your httpd.conf file:


    ServerName quickstart.local
    DocumentRoot /path/to/quickstart/public
 
    SetEnv APPLICATION_ENV &quot;development&quot;
 
    
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    
</description>
		<content:encoded><![CDATA[<p>I had trouble adding the &#8220;about&#8221; and &#8220;contact&#8221; actions/views.  I followed everything in this tutorial perfectly but when clicking links for about and contact I always got errors that it wasn&#8217;t found. In case it happens to anyone else, I found the solution in the ZF Quickstart guide. Create a virtual host by adding this to your httpd.conf file:</p>
<p>    ServerName quickstart.local<br />
    DocumentRoot /path/to/quickstart/public</p>
<p>    SetEnv APPLICATION_ENV &#8220;development&#8221;</p>
<p>        DirectoryIndex index.php<br />
        AllowOverride All<br />
        Order allow,deny<br />
        Allow from all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlesH</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-13421</link>
		<dc:creator>charlesH</dc:creator>
		<pubDate>Mon, 13 Dec 2010 19:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-13421</guid>
		<description>Fantastic!!! Not only does it give a great idea about Zend_Navigation, but also is helpful in creating breadcrumbs and sitemaps and disabling the standard layout - I learned a lot from this. Thanks Jon!</description>
		<content:encoded><![CDATA[<p>Fantastic!!! Not only does it give a great idea about Zend_Navigation, but also is helpful in creating breadcrumbs and sitemaps and disabling the standard layout &#8211; I learned a lot from this. Thanks Jon!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-12878</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Thu, 25 Nov 2010 19:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-12878</guid>
		<description>First  : Thank you soooo much !
You gave me exactly what I wanted. 
Take time to come in my website and give me your opinion...
See you soon and thanks again,
Pat</description>
		<content:encoded><![CDATA[<p>First  : Thank you soooo much !<br />
You gave me exactly what I wanted.<br />
Take time to come in my website and give me your opinion&#8230;<br />
See you soon and thanks again,<br />
Pat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szsoftware</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-12542</link>
		<dc:creator>szsoftware</dc:creator>
		<pubDate>Wed, 17 Nov 2010 18:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-12542</guid>
		<description>Hi Jon,

the last days I ran into trouble because of some faulty code in your _initNavigation():

	  $this-&gt;bootstrap(&#039;layout&#039;);
	  $layout = $this-&gt;getResource(&#039;layout&#039;);
          $view = $layout-&gt;getView();

led to the problem that another view renderer was created and I had to write some addHelper() code into the Bootstrap.php for other view helpers, having these in the layout available.
This code fixed the problem:

	  $this-&gt;bootstrap(&#039;view&#039;);
	  $view = $this-&gt;getResource(&#039;view&#039;);

The issue is further discussed in the forum:
http://www.zendcasts.com/forum/post/1179/#p1179

Regards,
Sven</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>the last days I ran into trouble because of some faulty code in your _initNavigation():</p>
<p>	  $this-&gt;bootstrap(&#8216;layout&#8217;);<br />
	  $layout = $this-&gt;getResource(&#8216;layout&#8217;);<br />
          $view = $layout-&gt;getView();</p>
<p>led to the problem that another view renderer was created and I had to write some addHelper() code into the Bootstrap.php for other view helpers, having these in the layout available.<br />
This code fixed the problem:</p>
<p>	  $this-&gt;bootstrap(&#8216;view&#8217;);<br />
	  $view = $this-&gt;getResource(&#8216;view&#8217;);</p>
<p>The issue is further discussed in the forum:<br />
<a href="http://www.zendcasts.com/forum/post/1179/#p1179" rel="nofollow">http://www.zendcasts.com/forum/post/1179/#p1179</a></p>
<p>Regards,<br />
Sven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szsoftware</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-12529</link>
		<dc:creator>szsoftware</dc:creator>
		<pubDate>Wed, 17 Nov 2010 10:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-12529</guid>
		<description>Hi Jon,

the last days I ran into trouble because of some faulty code in your _initNavigation():

	  $this-&gt;bootstrap(&#039;layout&#039;);
	  $layout = $this-&gt;getResource(&#039;layout&#039;);
-&gt;getView();</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>the last days I ran into trouble because of some faulty code in your _initNavigation():</p>
<p>	  $this-&gt;bootstrap(&#8216;layout&#8217;);<br />
	  $layout = $this-&gt;getResource(&#8216;layout&#8217;);<br />
-&gt;getView();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kurt</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-11420</link>
		<dc:creator>Kurt</dc:creator>
		<pubDate>Fri, 22 Oct 2010 12:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-11420</guid>
		<description>Many thanks for this cast!

i am working on a multi language site. The uri&#039;s for this site look somthing like this:
http://www.example.ch/de/module/controller/action...
My question is if there is a possibility to prepend the language part of the uri (/de) dynamicly to all the uri&#039;s that come from the uri-sections of the navigation XML file. Because i am using Zend_Translate i would not use three different XML files for the three languages.

Regards  //kurt</description>
		<content:encoded><![CDATA[<p>Many thanks for this cast!</p>
<p>i am working on a multi language site. The uri&#8217;s for this site look somthing like this:<br />
<a href="http://www.example.ch/de/module/controller/action.." rel="nofollow">http://www.example.ch/de/module/controller/action..</a>.<br />
My question is if there is a possibility to prepend the language part of the uri (/de) dynamicly to all the uri&#8217;s that come from the uri-sections of the navigation XML file. Because i am using Zend_Translate i would not use three different XML files for the three languages.</p>
<p>Regards  //kurt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the red head</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-10797</link>
		<dc:creator>the red head</dc:creator>
		<pubDate>Wed, 29 Sep 2010 11:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10797</guid>
		<description>As we rebuild the project our zendstudio 7.2.1 with the 1.10.6 zf,
shows this after building n deploying.

Fatal error: Cannot redeclare class Zend_Application in C:\xampp\htdocs\zc24-zend-navigation-breadcrumbs-sitemap-menu\library\Zend\Application.php on line 29

But we don´t know why....... 
If anyone has an idea,please let us know ???
thx n best regards 
the red head</description>
		<content:encoded><![CDATA[<p>As we rebuild the project our zendstudio 7.2.1 with the 1.10.6 zf,<br />
shows this after building n deploying.</p>
<p>Fatal error: Cannot redeclare class Zend_Application in C:\xampp\htdocs\zc24-zend-navigation-breadcrumbs-sitemap-menu\library\Zend\Application.php on line 29</p>
<p>But we don´t know why&#8230;&#8230;.<br />
If anyone has an idea,please let us know ???<br />
thx n best regards<br />
the red head</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diogo</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-10713</link>
		<dc:creator>Diogo</dc:creator>
		<pubDate>Sun, 26 Sep 2010 04:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10713</guid>
		<description>How can i use setTag $activeNav? I just want change the class by strong tag? Someone can help?

Tnks!</description>
		<content:encoded><![CDATA[<p>How can i use setTag $activeNav? I just want change the class by strong tag? Someone can help?</p>
<p>Tnks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: __fabrice</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-10540</link>
		<dc:creator>__fabrice</dc:creator>
		<pubDate>Sun, 19 Sep 2010 13:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10540</guid>
		<description>Hi,

Here a plugin to use zend_navigation and breadcrumbs :
[code]class Custom_Controller_Plugin_NavigationBreadcrumbs extends Zend_Controller_Plugin_Abstract {

    public function preDispatch(Zend_Controller_Request_Abstract $request) {
        // Get the View
        $view =  Zend_Controller_Front::getInstance()-&gt;getParam(&#039;bootstrap&#039;)-&gt;getResource(&#039;view&#039;);

        // Get all the links
        $configNavigation       = new Zend_Config_Xml(APPLICATION_PATH . &#039;/config/navigation.xml&#039;, &#039;nav&#039;);
        $containerNavigation    = new Zend_Navigation($configNavigation);
        $view-&gt;navigation($containerNavigation);

        // Set the active page
        $activePage = $containerNavigation-&gt;findByUri($request-&gt;getRequestUri());
        $activePage-&gt;active = true;
        // Get the current class and add an &quot;active&quot; class
        $currentClass = $activePage-&gt;getClass();
        $activePage-&gt;setClass($currentClass . &quot; active&quot;);
        
        // Assign the navigation to the view
        $view-&gt;navigation($containerNavigation);
    }
}[code]</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Here a plugin to use zend_navigation and breadcrumbs :<br />
[code]class Custom_Controller_Plugin_NavigationBreadcrumbs extends Zend_Controller_Plugin_Abstract {</p>
<p>    public function preDispatch(Zend_Controller_Request_Abstract $request) {<br />
        // Get the View<br />
        $view =  Zend_Controller_Front::getInstance()-&gt;getParam('bootstrap')-&gt;getResource('view');</p>
<p>        // Get all the links<br />
        $configNavigation       = new Zend_Config_Xml(APPLICATION_PATH . '/config/navigation.xml', 'nav');<br />
        $containerNavigation    = new Zend_Navigation($configNavigation);<br />
        $view-&gt;navigation($containerNavigation);</p>
<p>        // Set the active page<br />
        $activePage = $containerNavigation-&gt;findByUri($request-&gt;getRequestUri());<br />
        $activePage-&gt;active = true;<br />
        // Get the current class and add an "active" class<br />
        $currentClass = $activePage-&gt;getClass();<br />
        $activePage-&gt;setClass($currentClass . " active");</p>
<p>        // Assign the navigation to the view<br />
        $view-&gt;navigation($containerNavigation);<br />
    }<br />
}[code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-10189</link>
		<dc:creator>toy</dc:creator>
		<pubDate>Tue, 07 Sep 2010 06:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10189</guid>
		<description>one other thing jon
after creating this whole
when i click on a menu link
all i get is blank page with the following text
&quot;/index/[action/menulink]&quot;

just like in the first part of your vid
where you had die($uri)
except that i dont have a die command anywhere in my code

i guess relating to that
im having a tough time making the leap from the aboutAction function
which has nothing in it
and how does link know to just to goto the /index/about view
i guess thats all taken care of by ZF?

thanks for your help
toy</description>
		<content:encoded><![CDATA[<p>one other thing jon<br />
after creating this whole<br />
when i click on a menu link<br />
all i get is blank page with the following text<br />
&#8220;/index/[action/menulink]&#8221;</p>
<p>just like in the first part of your vid<br />
where you had die($uri)<br />
except that i dont have a die command anywhere in my code</p>
<p>i guess relating to that<br />
im having a tough time making the leap from the aboutAction function<br />
which has nothing in it<br />
and how does link know to just to goto the /index/about view<br />
i guess thats all taken care of by ZF?</p>
<p>thanks for your help<br />
toy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-3/#comment-10186</link>
		<dc:creator>toy</dc:creator>
		<pubDate>Tue, 07 Sep 2010 03:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10186</guid>
		<description>awesome john
you rawk!</description>
		<content:encoded><![CDATA[<p>awesome john<br />
you rawk!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rad</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-10009</link>
		<dc:creator>rad</dc:creator>
		<pubDate>Tue, 31 Aug 2010 22:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10009</guid>
		<description>thanks for the tut! it was great.
I could find why you have to activate the current page in the navigator: 
[[	public function init()
	{
		parent::init();
		$uri = $this-&gt;_request-&gt;getPathInfo();
		$activeNave = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
		$activeNave-&gt;active = true;
	}
]]
It does the work w/o it. Or maybe it is because I am using 1.10 ???
thanks!</description>
		<content:encoded><![CDATA[<p>thanks for the tut! it was great.<br />
I could find why you have to activate the current page in the navigator:<br />
[[	public function init()<br />
	{<br />
		parent::init();<br />
		$uri = $this-&gt;_request-&gt;getPathInfo();<br />
		$activeNave = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
		$activeNave-&gt;active = true;<br />
	}<br />
]]<br />
It does the work w/o it. Or maybe it is because I am using 1.10 ???<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rad</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-10002</link>
		<dc:creator>rad</dc:creator>
		<pubDate>Tue, 31 Aug 2010 19:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-10002</guid>
		<description>Navigation map elements (their names) identity pages? let me rephrase: for each page there is different element type. How would it possible to process/parse it and build a schema for it?</description>
		<content:encoded><![CDATA[<p>Navigation map elements (their names) identity pages? let me rephrase: for each page there is different element type. How would it possible to process/parse it and build a schema for it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-9341</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Wed, 11 Aug 2010 09:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-9341</guid>
		<description>Hi Jon,

I just want to say thank you for all the videos you&#039;ve posted up and I must say a great contribution to Zend community.</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>I just want to say thank you for all the videos you&#8217;ve posted up and I must say a great contribution to Zend community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnka</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-9225</link>
		<dc:creator>dnka</dc:creator>
		<pubDate>Sat, 07 Aug 2010 21:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-9225</guid>
		<description>Hello,

could you help me please with next:

I want to create a menu like:

[ul]
[li]
[a href=&quot;something&quot;][/a]
[strong]something else[/strong]
[/li]
.
.
[/ul]

What I can do for adding a [strong] tag after tag [a] ?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>could you help me please with next:</p>
<p>I want to create a menu like:</p>
<p>[ul]<br />
[li]<br />
[a href="something"][/a]<br />
[strong]something else[/strong]<br />
[/li]<br />
.<br />
.<br />
[/ul]</p>
<p>What I can do for adding a [strong] tag after tag [a] ?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnka</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-9224</link>
		<dc:creator>dnka</dc:creator>
		<pubDate>Sat, 07 Aug 2010 21:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-9224</guid>
		<description>Hello,

could you help me please with next:

I want to create a menu like:



&lt;a href=&quot;something&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
&lt;strong&gt;something else&lt;/strong&gt;

.
.


What I can do for adding a &lt;strong&gt; tag after tag &lt;a&gt; ?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>could you help me please with next:</p>
<p>I want to create a menu like:</p>
<p><a href="something" rel="nofollow"></a><br />
<strong>something else</strong></p>
<p>.<br />
.</p>
<p>What I can do for adding a <strong> tag after tag <a> ?</p>
<p>Thank you.</a></strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8565</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Thu, 15 Jul 2010 23:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8565</guid>
		<description>Is it possible to generate the navigation.xml file from a database? If so I would very much appreciate an example. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Is it possible to generate the navigation.xml file from a database? If so I would very much appreciate an example. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8508</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8508</guid>
		<description>Hi Crispijn,

1. First prepare your menu in your bootstrap:

$config = new Zend_Config_Xml(APPLICATION_PATH.&#039;/configs/navigation.xml&#039;, &#039;nav&#039;);
        $navigation = new Zend_Navigation($config);
$view = $this-&gt;getResource(&#039;view&#039;);
$view-&gt;navigation($navigation); 

2. In your layout, call your breadcrumb:

partial(&#039;breadcrumbs.phtml&#039;); ?&gt;    

3. Have something like this in the breadcrumbs.phtml:

$breadcrumbs = $this-&gt;navigation()
                        -&gt;breadcrumbs()
                        -&gt;setMinDepth(0)
                        -&gt;setLinkLast(true)
                        -&gt;setSeparator(&#039; &#124; &#039;);

    if ($breadcrumbs != &#039;&#039;) print &#039;You are here: &#039;.$breadcrumbs.&#039;&#039;;

Wohooo! Mabuhay ang pinoy!!

Regards,
Cliburn M. Solano

http://www.clybs.com
http://www.jamilicious.com
http://www.youtube.com/user/CLYBS</description>
		<content:encoded><![CDATA[<p>Hi Crispijn,</p>
<p>1. First prepare your menu in your bootstrap:</p>
<p>$config = new Zend_Config_Xml(APPLICATION_PATH.&#8217;/configs/navigation.xml&#8217;, &#8216;nav&#8217;);<br />
        $navigation = new Zend_Navigation($config);<br />
$view = $this-&gt;getResource(&#8216;view&#8217;);<br />
$view-&gt;navigation($navigation); </p>
<p>2. In your layout, call your breadcrumb:</p>
<p>partial(&#8216;breadcrumbs.phtml&#8217;); ?&gt;    </p>
<p>3. Have something like this in the breadcrumbs.phtml:</p>
<p>$breadcrumbs = $this-&gt;navigation()<br />
                        -&gt;breadcrumbs()<br />
                        -&gt;setMinDepth(0)<br />
                        -&gt;setLinkLast(true)<br />
                        -&gt;setSeparator(&#8216; | &#8216;);</p>
<p>    if ($breadcrumbs != &#8221;) print &#8216;You are here: &#8216;.$breadcrumbs.&#8221;;</p>
<p>Wohooo! Mabuhay ang pinoy!!</p>
<p>Regards,<br />
Cliburn M. Solano</p>
<p><a href="http://www.clybs.com" rel="nofollow">http://www.clybs.com</a><br />
<a href="http://www.jamilicious.com" rel="nofollow">http://www.jamilicious.com</a><br />
<a href="http://www.youtube.com/user/CLYBS" rel="nofollow">http://www.youtube.com/user/CLYBS</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crispijn</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8491</link>
		<dc:creator>Crispijn</dc:creator>
		<pubDate>Mon, 12 Jul 2010 17:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8491</guid>
		<description>How to create a dynamical breadcrumb? For example: I have a blog controller with the following structure:

indexAction
  artickeAction
    commentsAction

How to create a breadcrumb like this (the &#039;Article Name&#039; should be the title of the article)?

Home : Article name : Comments?

I&#039;ve searched for quite some time now and I haven&#039;t found a solution. Is there anyone out there who can help me?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>How to create a dynamical breadcrumb? For example: I have a blog controller with the following structure:</p>
<p>indexAction<br />
  artickeAction<br />
    commentsAction</p>
<p>How to create a breadcrumb like this (the &#8216;Article Name&#8217; should be the title of the article)?</p>
<p>Home : Article name : Comments?</p>
<p>I&#8217;ve searched for quite some time now and I haven&#8217;t found a solution. Is there anyone out there who can help me?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Problem using Zend_Navigation. - Zend Framework Forum</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8329</link>
		<dc:creator>Problem using Zend_Navigation. - Zend Framework Forum</dc:creator>
		<pubDate>Tue, 06 Jul 2010 16:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8329</guid>
		<description>[...] mean this Zendcast Zend_Navigation ? creating a menu, a sitemap and breadcrumbs &#124; free Zend Framework screencasts - Zen...   The zip file provided is working out of the box.   Maybe there is a Zend Framework version [...]</description>
		<content:encoded><![CDATA[<p>[...] mean this Zendcast Zend_Navigation ? creating a menu, a sitemap and breadcrumbs | free Zend Framework screencasts &#8211; Zen&#8230;   The zip file provided is working out of the box.   Maybe there is a Zend Framework version [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julio</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8325</link>
		<dc:creator>Julio</dc:creator>
		<pubDate>Tue, 06 Jul 2010 14:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8325</guid>
		<description>I have a problem when rendering menu. 
On help page I have multiple sub-pages in the and I want the Help link to be active in all sub-pages.
I&#039;ve tried with adding
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri(&#039;help&#039;);
$activeNav-&gt;active = true;
$activeNav-&gt;setClass(&quot;active&quot;);
in the Help controller init() method but I get Fatal error: Call to undefined method stdClass::setClass().
When accessing the Help main page the link is active though.
Any ideas?

The xml dump:

    
        
            Home
            /&lt;/home
        
        
            Help
            /help
        
    
</description>
		<content:encoded><![CDATA[<p>I have a problem when rendering menu.<br />
On help page I have multiple sub-pages in the and I want the Help link to be active in all sub-pages.<br />
I&#8217;ve tried with adding<br />
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri(&#8216;help&#8217;);<br />
$activeNav-&gt;active = true;<br />
$activeNav-&gt;setClass(&#8220;active&#8221;);<br />
in the Help controller init() method but I get Fatal error: Call to undefined method stdClass::setClass().<br />
When accessing the Help main page the link is active though.<br />
Any ideas?</p>
<p>The xml dump:</p>
<p>            Home<br />
            /&lt;/home</p>
<p>            Help<br />
            /help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZendNavigation: can you add &#60;id&#62; tag 1st UL - Zend Framework Forum</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8258</link>
		<dc:creator>ZendNavigation: can you add &#60;id&#62; tag 1st UL - Zend Framework Forum</dc:creator>
		<pubDate>Fri, 02 Jul 2010 08:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8258</guid>
		<description>[...] can you add &lt;id&gt; tag 1st UL      I&#039;m trying to implement Zend_Navigation. I&#039;ve looked at this great tutorial and there is one thing missing to use my current navigation JS Script with Zend_Navigation.  using [...]</description>
		<content:encoded><![CDATA[<p>[...] can you add &lt;id&gt; tag 1st UL      I&#39;m trying to implement Zend_Navigation. I&#39;ve looked at this great tutorial and there is one thing missing to use my current navigation JS Script with Zend_Navigation.  using [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zensys</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-8033</link>
		<dc:creator>zensys</dc:creator>
		<pubDate>Mon, 21 Jun 2010 10:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-8033</guid>
		<description>Apparently the sitemap helper only works when the navigation.xml is uri-based and the breadcrump helper only works when the navigation is controller/action-based. That is why the $activeNav... snippet is needed in the above solution.</description>
		<content:encoded><![CDATA[<p>Apparently the sitemap helper only works when the navigation.xml is uri-based and the breadcrump helper only works when the navigation is controller/action-based. That is why the $activeNav&#8230; snippet is needed in the above solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tavva</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-7188</link>
		<dc:creator>Tavva</dc:creator>
		<pubDate>Thu, 06 May 2010 13:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-7188</guid>
		<description>Where exactly the boot strap.php will be located?

I have zend in my foler with in php_library and with zend/application/bootstrap/bootstrap.php I put all the code within Bootstrap.php into this class....When i remove this function from bootstrap.php i got also same error. i will not effect anywhere.

Can anybody have answers..</description>
		<content:encoded><![CDATA[<p>Where exactly the boot strap.php will be located?</p>
<p>I have zend in my foler with in php_library and with zend/application/bootstrap/bootstrap.php I put all the code within Bootstrap.php into this class&#8230;.When i remove this function from bootstrap.php i got also same error. i will not effect anywhere.</p>
<p>Can anybody have answers..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tavva</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-7187</link>
		<dc:creator>Tavva</dc:creator>
		<pubDate>Thu, 06 May 2010 13:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-7187</guid>
		<description>I got 
Fatal error: Call to undefined method stdClass::setClass() in my application root..

After adding 
Zend_Registry::set(Zend_Navigation, $container);


$container = new Zend_Navigation($config);
Zend_Registry::set(Zend_Navigation, $container);
$view-&gt;navigation($container);

also i got same error any body help me...


I have bootstrap in Zend/application folder..

I think its not correct to add this at here...</description>
		<content:encoded><![CDATA[<p>I got<br />
Fatal error: Call to undefined method stdClass::setClass() in my application root..</p>
<p>After adding<br />
Zend_Registry::set(Zend_Navigation, $container);</p>
<p>$container = new Zend_Navigation($config);<br />
Zend_Registry::set(Zend_Navigation, $container);<br />
$view-&gt;navigation($container);</p>
<p>also i got same error any body help me&#8230;</p>
<p>I have bootstrap in Zend/application folder..</p>
<p>I think its not correct to add this at here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zxywd</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-6697</link>
		<dc:creator>zxywd</dc:creator>
		<pubDate>Tue, 20 Apr 2010 01:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-6697</guid>
		<description>Very good screenshoot!</description>
		<content:encoded><![CDATA[<p>Very good screenshoot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-6410</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-6410</guid>
		<description>In the navigation.xml file, if you use controller, action, &amp; parameter tags instead of uri, I think it can determine the active node automatically.  Then you can omit this part:

$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
$activeNav-&gt;active = true;</description>
		<content:encoded><![CDATA[<p>In the navigation.xml file, if you use controller, action, &amp; parameter tags instead of uri, I think it can determine the active node automatically.  Then you can omit this part:</p>
<p>$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
$activeNav-&gt;active = true;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cochuyt joeri</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-6281</link>
		<dc:creator>cochuyt joeri</dc:creator>
		<pubDate>Mon, 22 Mar 2010 22:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-6281</guid>
		<description>i&#039;m stuck building my navigation... i have a modular setup. The navigation is defined in an xml file.
xml file: http://pastie.org/881782
This is how I load the navigation in my bootstrap and how I set my routes

bootstrap: http://pastie.org/881770

problem is when I render the navigation the links just show the language indentifier.
ex: http://zend.test -&gt; shows just /nl for every link in the menu
When I enter http://zend.test/nl/news the urls are renderd fine
ex: nl/news, nl/jobs ...
What am I missing here?</description>
		<content:encoded><![CDATA[<p>i&#8217;m stuck building my navigation&#8230; i have a modular setup. The navigation is defined in an xml file.<br />
xml file: <a href="http://pastie.org/881782" rel="nofollow">http://pastie.org/881782</a><br />
This is how I load the navigation in my bootstrap and how I set my routes</p>
<p>bootstrap: <a href="http://pastie.org/881770" rel="nofollow">http://pastie.org/881770</a></p>
<p>problem is when I render the navigation the links just show the language indentifier.<br />
ex: <a href="http://zend.test" rel="nofollow">http://zend.test</a> -&gt; shows just /nl for every link in the menu<br />
When I enter <a href="http://zend.test/nl/news" rel="nofollow">http://zend.test/nl/news</a> the urls are renderd fine<br />
ex: nl/news, nl/jobs &#8230;<br />
What am I missing here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-6209</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Sat, 20 Mar 2010 02:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-6209</guid>
		<description>Ok, I get it:

spl_object_hash
(PHP 5 &gt;= 5.2.0)

Cheers</description>
		<content:encoded><![CDATA[<p>Ok, I get it:</p>
<p>spl_object_hash<br />
(PHP 5 &gt;= 5.2.0)</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-6205</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Fri, 19 Mar 2010 22:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-6205</guid>
		<description>Thanks for this cast and comments.

I got it working with translate routes very fine.

My problem comes when I install it on a shared hosting server. Whether $config is a XML or an array, I get a  Call to undefined function spl_object_hash() on this:
$navigation = New Zend_Navigation($config);</description>
		<content:encoded><![CDATA[<p>Thanks for this cast and comments.</p>
<p>I got it working with translate routes very fine.</p>
<p>My problem comes when I install it on a shared hosting server. Whether $config is a XML or an array, I get a  Call to undefined function spl_object_hash() on this:<br />
$navigation = New Zend_Navigation($config);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Implementing a menu with Zend_Navigation</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-6116</link>
		<dc:creator>Implementing a menu with Zend_Navigation</dc:creator>
		<pubDate>Tue, 16 Mar 2010 13:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-6116</guid>
		<description>[...] few weeks ago I saw a very good ZendCast about [...]</description>
		<content:encoded><![CDATA[<p>[...] few weeks ago I saw a very good ZendCast about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-5570</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Tue, 23 Feb 2010 02:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-5570</guid>
		<description>Hi Bruno,

Try following my setup. In the bootstrap, I have something like this:

protected function _initLocale() {

        $locale = new Zend_Locale(&#039;en_US&#039;);
        Zend_Registry::set(&#039;Zend_Locale&#039;, $locale);

    }

protected function _initAcl() {

        $this-&gt;_acl = new Clybs_Acl();

    }

protected function _initNavigation() {

        $config = new Zend_Config_Xml(APPLICATION_PATH.&#039;/configs/navigation.xml&#039;, &#039;nav&#039;);
        $navigation = new Zend_Navigation($config);
        $user = new Clybs_User();
        
        $this-&gt;_view-&gt;navigation($navigation);     
        $this-&gt;_view-&gt;navigation()-&gt;setAcl($this-&gt;_acl)
                                  -&gt;setRole($user-&gt;getRank());
        
    }

I have ACLs activated for registered users. In your case, you don&#039;t need those I think. Just omit the ones with ACLs.

Regards,
Cliburn M. Solano
www.clybs.com</description>
		<content:encoded><![CDATA[<p>Hi Bruno,</p>
<p>Try following my setup. In the bootstrap, I have something like this:</p>
<p>protected function _initLocale() {</p>
<p>        $locale = new Zend_Locale(&#8216;en_US&#8217;);<br />
        Zend_Registry::set(&#8216;Zend_Locale&#8217;, $locale);</p>
<p>    }</p>
<p>protected function _initAcl() {</p>
<p>        $this-&gt;_acl = new Clybs_Acl();</p>
<p>    }</p>
<p>protected function _initNavigation() {</p>
<p>        $config = new Zend_Config_Xml(APPLICATION_PATH.&#8217;/configs/navigation.xml&#8217;, &#8216;nav&#8217;);<br />
        $navigation = new Zend_Navigation($config);<br />
        $user = new Clybs_User();</p>
<p>        $this-&gt;_view-&gt;navigation($navigation);<br />
        $this-&gt;_view-&gt;navigation()-&gt;setAcl($this-&gt;_acl)<br />
                                  -&gt;setRole($user-&gt;getRank());</p>
<p>    }</p>
<p>I have ACLs activated for registered users. In your case, you don&#8217;t need those I think. Just omit the ones with ACLs.</p>
<p>Regards,<br />
Cliburn M. Solano<br />
<a href="http://www.clybs.com" rel="nofollow">http://www.clybs.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-5554</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Mon, 22 Feb 2010 11:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-5554</guid>
		<description>It isn&#039;t working, i may be doing something wrong, because i got the following error:
&quot;Fatal error: Uncaught exception &#039;Zend_Exception&#039; with message &#039;No entry is registered for key &#039;Zend_Locale&#039;&#039; in ...&quot;

Well, I have multiple menus, so in my bootstrap i got something like this:

$this-&gt;bootstrap(&#039;view&#039;);
		$view = $this-&gt;getResource(&quot;view&quot;);
		
		$leftmenuConfig = new Zend_Config_Xml(APPLICATION_PATH . &#039;/configs/navigation.xml&#039;, &#039;leftmenu&#039;);
		$leftmenu = new Zend_Navigation($leftmenuConfig);
		Zend_Registry::set(&#039;leftmenu&#039;, $leftmenu);
		
		$rightmenuConfig = new Zend_Config_Xml(APPLICATION_PATH . &#039;/configs/navigation.xml&#039;, &#039;rightmenu&#039;);
		$rightmenu = new Zend_Navigation($rightmenuConfig);
		Zend_Registry::set(&#039;rightmenu&#039;, $rightmenu);
		
//here i should have something for the menus that i want to specify the active state
		$this-&gt;_locale = Zend_Registry::get(&#039;Zend_Locale&#039;);
		$uri = $this-&gt;_request-&gt;getPathInfo();
		$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
		$activeNav-&gt;active = true;


Can you help me with this?

Thanks,</description>
		<content:encoded><![CDATA[<p>It isn&#8217;t working, i may be doing something wrong, because i got the following error:<br />
&#8220;Fatal error: Uncaught exception &#8216;Zend_Exception&#8217; with message &#8216;No entry is registered for key &#8216;Zend_Locale&#8221; in &#8230;&#8221;</p>
<p>Well, I have multiple menus, so in my bootstrap i got something like this:</p>
<p>$this-&gt;bootstrap(&#8216;view&#8217;);<br />
		$view = $this-&gt;getResource(&#8220;view&#8221;);</p>
<p>		$leftmenuConfig = new Zend_Config_Xml(APPLICATION_PATH . &#8216;/configs/navigation.xml&#8217;, &#8216;leftmenu&#8217;);<br />
		$leftmenu = new Zend_Navigation($leftmenuConfig);<br />
		Zend_Registry::set(&#8216;leftmenu&#8217;, $leftmenu);</p>
<p>		$rightmenuConfig = new Zend_Config_Xml(APPLICATION_PATH . &#8216;/configs/navigation.xml&#8217;, &#8216;rightmenu&#8217;);<br />
		$rightmenu = new Zend_Navigation($rightmenuConfig);<br />
		Zend_Registry::set(&#8216;rightmenu&#8217;, $rightmenu);</p>
<p>//here i should have something for the menus that i want to specify the active state<br />
		$this-&gt;_locale = Zend_Registry::get(&#8216;Zend_Locale&#8217;);<br />
		$uri = $this-&gt;_request-&gt;getPathInfo();<br />
		$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
		$activeNav-&gt;active = true;</p>
<p>Can you help me with this?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-5547</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Mon, 22 Feb 2010 05:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-5547</guid>
		<description>Hi Bruno,

I use something like this:

public function init() {        

        $this-&gt;_locale = Zend_Registry::get(&#039;Zend_Locale&#039;);

        $uri = $this-&gt;_request-&gt;getPathInfo();
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
        $activeNav-&gt;active = true;

    }   

Regards,
Burn</description>
		<content:encoded><![CDATA[<p>Hi Bruno,</p>
<p>I use something like this:</p>
<p>public function init() {        </p>
<p>        $this-&gt;_locale = Zend_Registry::get(&#8216;Zend_Locale&#8217;);</p>
<p>        $uri = $this-&gt;_request-&gt;getPathInfo();<br />
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
        $activeNav-&gt;active = true;</p>
<p>    }   </p>
<p>Regards,<br />
Burn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-5537</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Sun, 21 Feb 2010 14:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-5537</guid>
		<description>Is there any way to detect the active menu and add it a class?

Example:
At the homepage have it like:
&lt;a&gt;Homepage&lt;/a&gt;

Thanks!</description>
		<content:encoded><![CDATA[<p>Is there any way to detect the active menu and add it a class?</p>
<p>Example:<br />
At the homepage have it like:<br />
<a>Homepage</a></p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jochen</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-5018</link>
		<dc:creator>Jochen</dc:creator>
		<pubDate>Mon, 25 Jan 2010 23:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-5018</guid>
		<description>Anybody out there who can explain how to integrate Zend-Translate into a menu defined in the navigation.xml?</description>
		<content:encoded><![CDATA[<p>Anybody out there who can explain how to integrate Zend-Translate into a menu defined in the navigation.xml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Schoenster</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-4845</link>
		<dc:creator>Peter Schoenster</dc:creator>
		<pubDate>Thu, 21 Jan 2010 16:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-4845</guid>
		<description>Very cool dude. Thanks.</description>
		<content:encoded><![CDATA[<p>Very cool dude. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evilprofessor.co.uk &#187; Blog Archive &#187; Route requests for sitemap.xml to custom controller/action</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-4443</link>
		<dc:creator>Evilprofessor.co.uk &#187; Blog Archive &#187; Route requests for sitemap.xml to custom controller/action</dc:creator>
		<pubDate>Tue, 05 Jan 2010 23:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-4443</guid>
		<description>[...] Sitemaps can quickly and easily be generated using Zend_Navigation, a great quick tutorial (and generally very useful for Zend Framework tutorials) is Zend Casts &#8211; Dynamically creating a menu a sitemap and breadcrumbs. [...]</description>
		<content:encoded><![CDATA[<p>[...] Sitemaps can quickly and easily be generated using Zend_Navigation, a great quick tutorial (and generally very useful for Zend Framework tutorials) is Zend Casts &#8211; Dynamically creating a menu a sitemap and breadcrumbs. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kb</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-4090</link>
		<dc:creator>kb</dc:creator>
		<pubDate>Tue, 22 Dec 2009 17:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-4090</guid>
		<description>How do you get this thing to work, if you use production and development sections in your navigation.xml??

[configdata]
[production]
[nav]
[home]
...
[/home]
[/nav]
[/production]
[development extends=&quot;production&quot;]
[/development]
[/configdata]

If i leave the sections out, it complaints it can not find the production section.

If i specify the &#039;nav&#039; section in bootstrap, it complaints it can not find the nav section.

$config = new Zend_Config_Xml(APPLICATION_PATH.&#039;/configs/navigation.xml&#039;, &#039;nav&#039;);

Found nothing on the web that relates to this problem, is no one using these build sections???</description>
		<content:encoded><![CDATA[<p>How do you get this thing to work, if you use production and development sections in your navigation.xml??</p>
<p>[configdata]<br />
[production]<br />
[nav]<br />
[home]<br />
&#8230;<br />
[/home]<br />
[/nav]<br />
[/production]<br />
[development extends="production"]<br />
[/development]<br />
[/configdata]</p>
<p>If i leave the sections out, it complaints it can not find the production section.</p>
<p>If i specify the &#8216;nav&#8217; section in bootstrap, it complaints it can not find the nav section.</p>
<p>$config = new Zend_Config_Xml(APPLICATION_PATH.&#8217;/configs/navigation.xml&#8217;, &#8216;nav&#8217;);</p>
<p>Found nothing on the web that relates to this problem, is no one using these build sections???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3574</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 26 Nov 2009 14:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3574</guid>
		<description>Oops, it deleted all the xml markup... So I&#039;m gonna try again, sorry for double post.. :)

Hi, I don&#039;t think all that stuff in controller init() is necesary since you can drop &lt;uri&gt; in your config.xml and use &lt;module&gt;&lt;controller&gt;&lt;action&gt; like this:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;config&gt;
  &lt;nav&gt;
    &lt;logout&gt;
      &lt;label&gt;Logout&lt;/label&gt;
      &lt;module&gt;default&lt;/module&gt;
      &lt;controller&gt;authentication&lt;/controller&gt;
      &lt;action&gt;logout&lt;/action&gt;
    &lt;/logout&gt;
    &lt;login&gt;
      &lt;label&gt;Login&lt;/label&gt;
      &lt;module&gt;default&lt;/module&gt;
      &lt;controller&gt;authentication&lt;/controller&gt;
      &lt;action&gt;login&lt;/action&gt;
    &lt;/login&gt;
  &lt;/nav&gt;
&lt;config&gt;

this way the breadcrumbs automatically know where they are and active pages are automatically assigned. Plus it stays functional even when u change structure of your urls..

For more info: http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc

P.S.: you can also hide links in menu that aren&#039;t normally available. IE you dont want your guests to see links to the administration area. You will have to have ACL and Auth running which is for another quite HUGE tutorial.. ;)</description>
		<content:encoded><![CDATA[<p>Oops, it deleted all the xml markup&#8230; So I&#8217;m gonna try again, sorry for double post.. <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hi, I don&#8217;t think all that stuff in controller init() is necesary since you can drop &lt;uri&gt; in your config.xml and use &lt;module&gt;&lt;controller&gt;&lt;action&gt; like this:</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;config&gt;<br />
  &lt;nav&gt;<br />
    &lt;logout&gt;<br />
      &lt;label&gt;Logout&lt;/label&gt;<br />
      &lt;module&gt;default&lt;/module&gt;<br />
      &lt;controller&gt;authentication&lt;/controller&gt;<br />
      &lt;action&gt;logout&lt;/action&gt;<br />
    &lt;/logout&gt;<br />
    &lt;login&gt;<br />
      &lt;label&gt;Login&lt;/label&gt;<br />
      &lt;module&gt;default&lt;/module&gt;<br />
      &lt;controller&gt;authentication&lt;/controller&gt;<br />
      &lt;action&gt;login&lt;/action&gt;<br />
    &lt;/login&gt;<br />
  &lt;/nav&gt;<br />
&lt;config&gt;</p>
<p>this way the breadcrumbs automatically know where they are and active pages are automatically assigned. Plus it stays functional even when u change structure of your urls..</p>
<p>For more info: <a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc</a></p>
<p>P.S.: you can also hide links in menu that aren&#8217;t normally available. IE you dont want your guests to see links to the administration area. You will have to have ACL and Auth running which is for another quite HUGE tutorial.. <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3573</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 26 Nov 2009 14:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3573</guid>
		<description>Hi, I don&#039;t think all that stuff in controller init() is necesary since you can drop  in your config.xml and use  like this:



  
    
      Logout
      default
      authentication
      logout
    
    
      Login
      default
      authentication
      login
    
  


this way the breadcrumbs automatically know where they are and active pages are automatically assigned. Plus it stays functional even when u change structure of your urls..

For more info: http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc

P.S.: you can also hide links in menu that aren&#039;t normally available. IE you dont want your guests to see links to the administration area. You will have to have ACL and Auth running which is for another quite HUGE tutorial.. ;)</description>
		<content:encoded><![CDATA[<p>Hi, I don&#8217;t think all that stuff in controller init() is necesary since you can drop  in your config.xml and use  like this:</p>
<p>      Logout<br />
      default<br />
      authentication<br />
      logout</p>
<p>      Login<br />
      default<br />
      authentication<br />
      login</p>
<p>this way the breadcrumbs automatically know where they are and active pages are automatically assigned. Plus it stays functional even when u change structure of your urls..</p>
<p>For more info: <a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc</a></p>
<p>P.S.: you can also hide links in menu that aren&#8217;t normally available. IE you dont want your guests to see links to the administration area. You will have to have ACL and Auth running which is for another quite HUGE tutorial.. <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pmroom</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3569</link>
		<dc:creator>pmroom</dc:creator>
		<pubDate>Thu, 26 Nov 2009 04:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3569</guid>
		<description>What about updating when using ajax calls?</description>
		<content:encoded><![CDATA[<p>What about updating when using ajax calls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3303</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 10 Nov 2009 17:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3303</guid>
		<description>Hey am getting this error
 
&quot;Uncaught exception &#039;Zend_Navigation_Exception&#039; with message &#039;Invalid argument: Unable to determine class to instantiate&#039; &quot;

How do i go about it?</description>
		<content:encoded><![CDATA[<p>Hey am getting this error</p>
<p>&#8220;Uncaught exception &#8216;Zend_Navigation_Exception&#8217; with message &#8216;Invalid argument: Unable to determine class to instantiate&#8217; &#8221;</p>
<p>How do i go about it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3227</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Mon, 02 Nov 2009 04:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3227</guid>
		<description>I have a question though, how do you place a rel=nofollow in the nav xml?</description>
		<content:encoded><![CDATA[<p>I have a question though, how do you place a rel=nofollow in the nav xml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3226</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Mon, 02 Nov 2009 03:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3226</guid>
		<description>Hi Rock,

You could try and start out with this:
http://framework.zend.com/manual/en/zend.navigation.containers.html

In my site, i.e. footer, I use findByLabel:

$aMenus = array(&#039;User&#039;, &#039;Tools&#039;, &#039;Account&#039;, &#039;Help&#039;);

    for ($i = 0; $i \navigation()-\&gt;findOneByLabel($aMenus[$i]);
...

Regards,
clybs/burn</description>
		<content:encoded><![CDATA[<p>Hi Rock,</p>
<p>You could try and start out with this:<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.containers.html" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.containers.html</a></p>
<p>In my site, i.e. footer, I use findByLabel:</p>
<p>$aMenus = array(&#8216;User&#8217;, &#8216;Tools&#8217;, &#8216;Account&#8217;, &#8216;Help&#8217;);</p>
<p>    for ($i = 0; $i \navigation()-\&gt;findOneByLabel($aMenus[$i]);<br />
&#8230;</p>
<p>Regards,<br />
clybs/burn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mediaciety</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3200</link>
		<dc:creator>mediaciety</dc:creator>
		<pubDate>Fri, 30 Oct 2009 08:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3200</guid>
		<description>hey,

for those of you having problems with empty breadcrumbs and sitemap in zf 1.9.x - just add the following line after creating the Zend_Navigation Object in your Bootstrap.php:

Zend_Registry::set(Zend_Navigation, $yourNavObj); 

great tutorial btw :)

regards from germany</description>
		<content:encoded><![CDATA[<p>hey,</p>
<p>for those of you having problems with empty breadcrumbs and sitemap in zf 1.9.x &#8211; just add the following line after creating the Zend_Navigation Object in your Bootstrap.php:</p>
<p>Zend_Registry::set(Zend_Navigation, $yourNavObj); </p>
<p>great tutorial btw <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>regards from germany</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rock</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3031</link>
		<dc:creator>rock</dc:creator>
		<pubDate>Sat, 17 Oct 2009 14:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3031</guid>
		<description>hi,

I can&#039;t use findByUri to achieve the function, do you help me ?

My question write at:
http://www.zendcasts.com/forum/post/284/#p284

please help me, thanks.</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>I can&#8217;t use findByUri to achieve the function, do you help me ?</p>
<p>My question write at:<br />
<a href="http://www.zendcasts.com/forum/post/284/#p284" rel="nofollow">http://www.zendcasts.com/forum/post/284/#p284</a></p>
<p>please help me, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3006</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Thu, 15 Oct 2009 21:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3006</guid>
		<description>That didn&#039;t come through. Maybe this will...

&lt;params&gt;
&lt;foo&gt;1&lt;/foo&gt;
&lt;bar&gt;2&lt;/bar&gt;
&lt;/params&gt;</description>
		<content:encoded><![CDATA[<p>That didn&#8217;t come through. Maybe this will&#8230;</p>
<p>&lt;params&gt;<br />
&lt;foo&gt;1&lt;/foo&gt;<br />
&lt;bar&gt;2&lt;/bar&gt;<br />
&lt;/params&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-3005</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Thu, 15 Oct 2009 21:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-3005</guid>
		<description>Sudoku --

I&#039;m new to the framework but try using this structure for adding parameters to your xml file:


  1
  2
</description>
		<content:encoded><![CDATA[<p>Sudoku &#8211;</p>
<p>I&#8217;m new to the framework but try using this structure for adding parameters to your xml file:</p>
<p>  1<br />
  2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudoku</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2994</link>
		<dc:creator>Sudoku</dc:creator>
		<pubDate>Wed, 14 Oct 2009 22:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2994</guid>
		<description>hi,

I would like to implment the breadcrumbs. They work except when i have an ID in the URL like

http://www.daily-sudoku.com/dailysudoku/play-sudoku-online/solve-online-207.html

now i do not know how to represent this in the navigation.xml.

any ideas?</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>I would like to implment the breadcrumbs. They work except when i have an ID in the URL like</p>
<p><a href="http://www.daily-sudoku.com/dailysudoku/play-sudoku-online/solve-online-207.html" rel="nofollow">http://www.daily-sudoku.com/dailysudoku/play-sudoku-online/solve-online-207.html</a></p>
<p>now i do not know how to represent this in the navigation.xml.</p>
<p>any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Navigation : Menu, breadcrumb and sitemap</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2916</link>
		<dc:creator>Zend_Navigation : Menu, breadcrumb and sitemap</dc:creator>
		<pubDate>Tue, 06 Oct 2009 15:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2916</guid>
		<description>[...] Zend_Navigation – creating a menu, a sitemap and breadcrumbs &#124; free Zend Framework screencasts &amp;#8....   This entry was posted in PHP, Server Side, Zend Framework and tagged PHP, Zend Framework. [...]</description>
		<content:encoded><![CDATA[<p>[...] Zend_Navigation – creating a menu, a sitemap and breadcrumbs | free Zend Framework screencasts &amp;#8&#8230;.   This entry was posted in PHP, Server Side, Zend Framework and tagged PHP, Zend Framework. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2906</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Mon, 05 Oct 2009 04:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2906</guid>
		<description>That&#039;s headTitle() I&#039;m setting the separator for.

M</description>
		<content:encoded><![CDATA[<p>That&#8217;s headTitle() I&#8217;m setting the separator for.</p>
<p>M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2905</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Mon, 05 Oct 2009 04:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2905</guid>
		<description>Hi Marc,
Hmm.... I don&#039;t think headlink has a separator.</description>
		<content:encoded><![CDATA[<p>Hi Marc,<br />
Hmm&#8230;. I don&#8217;t think headlink has a separator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2857</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Wed, 30 Sep 2009 06:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2857</guid>
		<description>I tracked the problem to a simple resource plugin that I was experimenting with a few days ago. Being new to ZF, I&#039;m wondering if you can tell me why it caused a problem:

class Mac_Resource_Plugin_Testview extends Zend_Application_Resource_View
{
    public function init()
    {
        parent::init();
        $view = $this-&gt;getView();
       $view-&gt;headTitle()-&gt;setSeparator(&#039;...&#039;);
    }
}

I know there is some issue with the view object, but not clear why it conflicts with the navigation scheme.</description>
		<content:encoded><![CDATA[<p>I tracked the problem to a simple resource plugin that I was experimenting with a few days ago. Being new to ZF, I&#8217;m wondering if you can tell me why it caused a problem:</p>
<p>class Mac_Resource_Plugin_Testview extends Zend_Application_Resource_View<br />
{<br />
    public function init()<br />
    {<br />
        parent::init();<br />
        $view = $this-&gt;getView();<br />
       $view-&gt;headTitle()-&gt;setSeparator(&#8216;&#8230;&#8217;);<br />
    }<br />
}</p>
<p>I know there is some issue with the view object, but not clear why it conflicts with the navigation scheme.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2851</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Wed, 30 Sep 2009 04:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2851</guid>
		<description>Nice to hear it&#039;s already working. I just followed Jon&#039;s video tutorial to the dot:

// controller
$uri = $this-&gt;_request-&gt;getPathInfo();
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
        $activeNav-&gt;active = true;

// view
$breadcrumbs = $this-&gt;navigation()                           -&gt;breadcrumbs()                               -&gt;setMinDepth(0)
-&gt;setLinkLast(true)
-&gt;setSeparator(&#039; : &#039;);

and yeah, I use 1.9.3.pl.1 and having /user/editprofile causes no problem. May be it got fixed in 1.9.3.pl.1.

Regards,
Burn</description>
		<content:encoded><![CDATA[<p>Nice to hear it&#8217;s already working. I just followed Jon&#8217;s video tutorial to the dot:</p>
<p>// controller<br />
$uri = $this-&gt;_request-&gt;getPathInfo();<br />
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
        $activeNav-&gt;active = true;</p>
<p>// view<br />
$breadcrumbs = $this-&gt;navigation()                           -&gt;breadcrumbs()                               -&gt;setMinDepth(0)<br />
-&gt;setLinkLast(true)<br />
-&gt;setSeparator(&#8216; : &#8216;);</p>
<p>and yeah, I use 1.9.3.pl.1 and having /user/editprofile causes no problem. May be it got fixed in 1.9.3.pl.1.</p>
<p>Regards,<br />
Burn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2849</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Wed, 30 Sep 2009 02:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2849</guid>
		<description>I see my tag signs were mangled...

 controller 
 action 

works.

 /index/about 

didn&#039;t.</description>
		<content:encoded><![CDATA[<p>I see my tag signs were mangled&#8230;</p>
<p> controller<br />
 action </p>
<p>works.</p>
<p> /index/about </p>
<p>didn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2848</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Wed, 30 Sep 2009 02:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2848</guid>
		<description>Burn -- 

I ultimately was able to sort it out by changing my XML file to use the format:
somecontroller
someaction

For some reason, the /index/about format is a problem.

Probably related to this is that this method:
$uri = $this-&gt;_request-&gt;getPathInfo();  
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
$activeNav-&gt;active = true;
$activeNav-&gt;setClass(&quot;active&quot;);

returns the error:
Call to undefined method stdClass::setClass()

I believe I read somewhere that 1.9 includes setting the &#039;active&#039; class.

So now wondering if this is somehow related to my 1.9 upgrade. Maybe doesn&#039;t support the  format?

I can send along the specifics of my bootstrap and ini files, if you think this is something that should still work in 1.9, otherwise I&#039;m happy to plod forward with my new xml.

Thanks much for responding!

Marc</description>
		<content:encoded><![CDATA[<p>Burn &#8212; </p>
<p>I ultimately was able to sort it out by changing my XML file to use the format:<br />
somecontroller<br />
someaction</p>
<p>For some reason, the /index/about format is a problem.</p>
<p>Probably related to this is that this method:<br />
$uri = $this-&gt;_request-&gt;getPathInfo();<br />
$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
$activeNav-&gt;active = true;<br />
$activeNav-&gt;setClass(&#8220;active&#8221;);</p>
<p>returns the error:<br />
Call to undefined method stdClass::setClass()</p>
<p>I believe I read somewhere that 1.9 includes setting the &#8216;active&#8217; class.</p>
<p>So now wondering if this is somehow related to my 1.9 upgrade. Maybe doesn&#8217;t support the  format?</p>
<p>I can send along the specifics of my bootstrap and ini files, if you think this is something that should still work in 1.9, otherwise I&#8217;m happy to plod forward with my new xml.</p>
<p>Thanks much for responding!</p>
<p>Marc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2847</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Wed, 30 Sep 2009 02:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2847</guid>
		<description>Hi Marc,

We&#039;d like to see more details about your problem.

Regards,
Burn</description>
		<content:encoded><![CDATA[<p>Hi Marc,</p>
<p>We&#8217;d like to see more details about your problem.</p>
<p>Regards,<br />
Burn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2845</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Wed, 30 Sep 2009 00:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2845</guid>
		<description>I have no problem getting the menu to show as you&#039;ve described, but the breadcrumb trail does not show. No errors. Nothing in the source HTML. 

Scratching my head and would really appreciate some help debugging this.

Will happily send more details if someone is still responding to this thread</description>
		<content:encoded><![CDATA[<p>I have no problem getting the menu to show as you&#8217;ve described, but the breadcrumb trail does not show. No errors. Nothing in the source HTML. </p>
<p>Scratching my head and would really appreciate some help debugging this.</p>
<p>Will happily send more details if someone is still responding to this thread</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2831</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Tue, 29 Sep 2009 02:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2831</guid>
		<description>That&#039;s &lt;resource&gt;free_account_section&lt;resource&gt;</description>
		<content:encoded><![CDATA[<p>That&#8217;s &lt;resource&gt;free_account_section&lt;resource&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-2/#comment-2830</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Tue, 29 Sep 2009 02:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2830</guid>
		<description>Hi all,

Here&#039;s the resource added to nav xml:

User
/user
free_account_section

Got the thing working by placing the navigation object in acl:

$this-&gt;_view-&gt;navigation()-&gt;setAcl($acl)
                      -&gt;setRole($getRank());

where $user is a class having this:

public function getRank() {

        if ($auth-&gt;hasIdentity()) return Roles::FREE;
        return Roles::GUEST;

    }

Regards,
Burn</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>Here&#8217;s the resource added to nav xml:</p>
<p>User<br />
/user<br />
free_account_section</p>
<p>Got the thing working by placing the navigation object in acl:</p>
<p>$this-&gt;_view-&gt;navigation()-&gt;setAcl($acl)<br />
                      -&gt;setRole($getRank());</p>
<p>where $user is a class having this:</p>
<p>public function getRank() {</p>
<p>        if ($auth-&gt;hasIdentity()) return Roles::FREE;<br />
        return Roles::GUEST;</p>
<p>    }</p>
<p>Regards,<br />
Burn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jumanji</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2751</link>
		<dc:creator>Jumanji</dc:creator>
		<pubDate>Wed, 23 Sep 2009 02:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2751</guid>
		<description>very helpful tuts! keep on shinning! thanks!</description>
		<content:encoded><![CDATA[<p>very helpful tuts! keep on shinning! thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmi</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2665</link>
		<dc:creator>Jimmi</dc:creator>
		<pubDate>Fri, 18 Sep 2009 11:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2665</guid>
		<description>Hey, i&#039;m really affraid about this Videotutorials ... :) It&#039;s an awesome ressource on the Web ... Keep up the good work ... :) Greetz from germany ...</description>
		<content:encoded><![CDATA[<p>Hey, i&#8217;m really affraid about this Videotutorials &#8230; <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It&#8217;s an awesome ressource on the Web &#8230; Keep up the good work &#8230; <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Greetz from germany &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliburn M. Solano</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2477</link>
		<dc:creator>Cliburn M. Solano</dc:creator>
		<pubDate>Thu, 10 Sep 2009 02:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2477</guid>
		<description>Hi Jon,

This is a very helpful tutorial! How do you assign an ACL to this menu so that the menu changes accordingly to the permissions associated with the user? My current solution is a fixed menu once user logs in which is not that efficient. Here&#039;s the scenario:

User goes to website as:
1. Guest Account:
Home
  - About

2. Member Account:
Home
  - Member
    + Profile
  - About

3. Admin Account:
  - Admin
    + Manage Users
  - About

Something like that? Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>This is a very helpful tutorial! How do you assign an ACL to this menu so that the menu changes accordingly to the permissions associated with the user? My current solution is a fixed menu once user logs in which is not that efficient. Here&#8217;s the scenario:</p>
<p>User goes to website as:<br />
1. Guest Account:<br />
Home<br />
  &#8211; About</p>
<p>2. Member Account:<br />
Home<br />
  &#8211; Member<br />
    + Profile<br />
  &#8211; About</p>
<p>3. Admin Account:<br />
  &#8211; Admin<br />
    + Manage Users<br />
  &#8211; About</p>
<p>Something like that? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bgy</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2459</link>
		<dc:creator>bgy</dc:creator>
		<pubDate>Mon, 07 Sep 2009 14:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2459</guid>
		<description>Very helpful tutorial ! Zend Navigation will make my programmer&#039;s life a little easier : )</description>
		<content:encoded><![CDATA[<p>Very helpful tutorial ! Zend Navigation will make my programmer&#8217;s life a little easier : )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Navigation &#8211; the first touch &#171; How to use it</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2428</link>
		<dc:creator>Zend_Navigation &#8211; the first touch &#171; How to use it</dc:creator>
		<pubDate>Fri, 04 Sep 2009 22:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2428</guid>
		<description>[...] myself absolutely lost, I started to search and had found this great video tutorial at Zendcasts: Zend_Navigation – creating a menu, a sitemap and breadcrumbs. This tutorial is really basic, but priceless if you want to get quick start. It shows how to [...]</description>
		<content:encoded><![CDATA[<p>[...] myself absolutely lost, I started to search and had found this great video tutorial at Zendcasts: Zend_Navigation – creating a menu, a sitemap and breadcrumbs. This tutorial is really basic, but priceless if you want to get quick start. It shows how to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AgustinCl</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2331</link>
		<dc:creator>AgustinCl</dc:creator>
		<pubDate>Sun, 30 Aug 2009 12:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2331</guid>
		<description>Well, after a hell of tryings with this error: 
Invalid argument: Unable to determine class to instantiate... finally I got the solution...

THE XML MUST BE CORRECT: Look you home tag, the pages is inside!!!!.

Great Tutorial!!!!... thanks a lot.

Acl.</description>
		<content:encoded><![CDATA[<p>Well, after a hell of tryings with this error:<br />
Invalid argument: Unable to determine class to instantiate&#8230; finally I got the solution&#8230;</p>
<p>THE XML MUST BE CORRECT: Look you home tag, the pages is inside!!!!.</p>
<p>Great Tutorial!!!!&#8230; thanks a lot.</p>
<p>Acl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2206</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Tue, 18 Aug 2009 18:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2206</guid>
		<description>Luis,

you&#039;re quite right, however this is an excellent example of where practice and theory are divergent. I would venture to guess that most non-trivial web application will have components that are divergent from the typical MVC page-to-navigation model. Relying on mvc instead of uri will work until your client asks for optimized SEO urls or when you need to migrate legacy pages. I think its important to know how to manually set active pages, if nothing more than being able to change the breadcrumb due to Authorization or user constraints.</description>
		<content:encoded><![CDATA[<p>Luis,</p>
<p>you&#8217;re quite right, however this is an excellent example of where practice and theory are divergent. I would venture to guess that most non-trivial web application will have components that are divergent from the typical MVC page-to-navigation model. Relying on mvc instead of uri will work until your client asks for optimized SEO urls or when you need to migrate legacy pages. I think its important to know how to manually set active pages, if nothing more than being able to change the breadcrumb due to Authorization or user constraints.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Morales</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2205</link>
		<dc:creator>Luis Morales</dc:creator>
		<pubDate>Tue, 18 Aug 2009 17:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2205</guid>
		<description>If you use the mvc instead of uri, you dont have to go through the hassle of finding the active menu; the object will do it for you!</description>
		<content:encoded><![CDATA[<p>If you use the mvc instead of uri, you dont have to go through the hassle of finding the active menu; the object will do it for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonas</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2131</link>
		<dc:creator>jonas</dc:creator>
		<pubDate>Tue, 11 Aug 2009 12:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2131</guid>
		<description>Hi, I&#039;ve been watching your screencasts and they are very usefull. Now I&#039;m creating my breadcrumbs and I&#039;m using the same technique as Jon.

I created a BaseController that contains the setActiveNavigation function. Now, when I extend my BaseController I get an error that the BaseController can&#039;t be found. I don&#039;t know how Jon fixed it, maybe you do? It works fine if I use include_once.

This is the code i use to set my include path:
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . &#039;/../library&#039;),
    get_include_path(),
)));

I hope you can help me out :).</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve been watching your screencasts and they are very usefull. Now I&#8217;m creating my breadcrumbs and I&#8217;m using the same technique as Jon.</p>
<p>I created a BaseController that contains the setActiveNavigation function. Now, when I extend my BaseController I get an error that the BaseController can&#8217;t be found. I don&#8217;t know how Jon fixed it, maybe you do? It works fine if I use include_once.</p>
<p>This is the code i use to set my include path:<br />
set_include_path(implode(PATH_SEPARATOR, array(<br />
    realpath(APPLICATION_PATH . &#8216;/../library&#8217;),<br />
    get_include_path(),<br />
)));</p>
<p>I hope you can help me out <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Playing with Zend_Navigation and routes ~ Robert Basic</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2059</link>
		<dc:creator>Playing with Zend_Navigation and routes ~ Robert Basic</dc:creator>
		<pubDate>Sun, 09 Aug 2009 17:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2059</guid>
		<description>[...] us render links and menus and breadcrumbs! Yey! There are a several blog posts which go in details about Zend_Navigation, so I won&#8217;t be bothering with that. What I wanted to make with Zend_Navigation is to have a [...]</description>
		<content:encoded><![CDATA[<p>[...] us render links and menus and breadcrumbs! Yey! There are a several blog posts which go in details about Zend_Navigation, so I won&#8217;t be bothering with that. What I wanted to make with Zend_Navigation is to have a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bazmo</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2014</link>
		<dc:creator>Bazmo</dc:creator>
		<pubDate>Wed, 05 Aug 2009 05:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2014</guid>
		<description>Sorry. The home closing tag.</description>
		<content:encoded><![CDATA[<p>Sorry. The home closing tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bazmo</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2013</link>
		<dc:creator>Bazmo</dc:creator>
		<pubDate>Wed, 05 Aug 2009 05:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2013</guid>
		<description>Scrap all that. I had the  tag before the pages. Awesome error reporting.</description>
		<content:encoded><![CDATA[<p>Scrap all that. I had the  tag before the pages. Awesome error reporting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bazmo</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2012</link>
		<dc:creator>Bazmo</dc:creator>
		<pubDate>Wed, 05 Aug 2009 01:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2012</guid>
		<description>And now I&#039;m subscribing because I didn&#039;t see the checkbox under the submit button (weird place for a checkbox)</description>
		<content:encoded><![CDATA[<p>And now I&#8217;m subscribing because I didn&#8217;t see the checkbox under the submit button (weird place for a checkbox)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bazmo</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2011</link>
		<dc:creator>Bazmo</dc:creator>
		<pubDate>Wed, 05 Aug 2009 01:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2011</guid>
		<description>I&#039;m getting the same error as Dan, but not the same cause.

My navigation.xml is identical to the demo.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting the same error as Dan, but not the same cause.</p>
<p>My navigation.xml is identical to the demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2007</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Tue, 04 Aug 2009 14:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2007</guid>
		<description>to answer to myself : 

check not to have more nodes with the same name  in the xml file</description>
		<content:encoded><![CDATA[<p>to answer to myself : </p>
<p>check not to have more nodes with the same name  in the xml file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-2004</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Tue, 04 Aug 2009 09:44:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-2004</guid>
		<description>hi , 

i get this error : 

Uncaught exception &#039;Zend_Navigation_Exception&#039; with message &#039;Invalid argument: Unable to determine class to instantiate&#039;..

any ideas ?

thanx</description>
		<content:encoded><![CDATA[<p>hi , </p>
<p>i get this error : </p>
<p>Uncaught exception &#8216;Zend_Navigation_Exception&#8217; with message &#8216;Invalid argument: Unable to determine class to instantiate&#8217;..</p>
<p>any ideas ?</p>
<p>thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isolde</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1690</link>
		<dc:creator>Isolde</dc:creator>
		<pubDate>Tue, 14 Jul 2009 20:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1690</guid>
		<description>Thanks Jon, for the quick reply. I&#039;ve solved it in the preDispatch (thanks again) for now but I like the idea of a BaseController. I&#039;m going to try that.</description>
		<content:encoded><![CDATA[<p>Thanks Jon, for the quick reply. I&#8217;ve solved it in the preDispatch (thanks again) for now but I like the idea of a BaseController. I&#8217;m going to try that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1677</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Tue, 14 Jul 2009 14:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1677</guid>
		<description>hey Isolde,

if you&#039;re looking to have dynamically added stylesheets, you can do it in the controller as well, either in the action() methods or in preDispatch().

e.g. $this-&gt;view-&gt;headLink()-&gt;appendStylesheet(’/css/mystyle.css’);

You could write some code to inspect which controller / action you&#039;re currently in and load the css dynamically, either through a plugin or by inheriting from another Controller (e.g. a BaseController that extends Zend_Controller_Action) that has shared functionality across multiple Controllers.</description>
		<content:encoded><![CDATA[<p>hey Isolde,</p>
<p>if you&#8217;re looking to have dynamically added stylesheets, you can do it in the controller as well, either in the action() methods or in preDispatch().</p>
<p>e.g. $this->view->headLink()->appendStylesheet(’/css/mystyle.css’);</p>
<p>You could write some code to inspect which controller / action you&#8217;re currently in and load the css dynamically, either through a plugin or by inheriting from another Controller (e.g. a BaseController that extends Zend_Controller_Action) that has shared functionality across multiple Controllers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isolde</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1674</link>
		<dc:creator>Isolde</dc:creator>
		<pubDate>Tue, 14 Jul 2009 12:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1674</guid>
		<description>Great video...

But I&#039;m a bit stuck with the css now. My Bootstrap class used to say:
$view-&gt;headLink()-&gt;appendStylesheet(&#039;/css/mystyle.css&#039;);
but because of the nav, the pages under home (e.g. About at /index/about and Contact at /index/contact) now can&#039;t find their css stylesheets anymore. And my images.
How do I dynammically append my Stylesheets to this new nav?</description>
		<content:encoded><![CDATA[<p>Great video&#8230;</p>
<p>But I&#8217;m a bit stuck with the css now. My Bootstrap class used to say:<br />
$view-&gt;headLink()-&gt;appendStylesheet(&#8216;/css/mystyle.css&#8217;);<br />
but because of the nav, the pages under home (e.g. About at /index/about and Contact at /index/contact) now can&#8217;t find their css stylesheets anymore. And my images.<br />
How do I dynammically append my Stylesheets to this new nav?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene van der Merwe</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1654</link>
		<dc:creator>Eugene van der Merwe</dc:creator>
		<pubDate>Mon, 13 Jul 2009 17:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1654</guid>
		<description>I tried combining the Zend_Navigation example with Zend DB Update and Delete.

The problem is when pages are called that have parameters, e.g. http://localhost/index/update/1 it fails with:

Fatal error: Call to undefined method stdClass::setClass() in /usr/local/Zend/apache2/htdocs/quickstart/application/controllers/IndexController.php on line 122

I worked around this problem by checking for:
if ($activeNav != null) { } and this avoids the error but now no breadcrumbs are printed at all for these pages.

I think the solution would be to isolate the action but I don&#039;t know how to do this.

I tried Jim&#039;s method of [route]default[/route] but I think this might be off track.

What I also find curious is that wrapping a try - catch block around $activeNav-&gt;setClass ( &quot;active&quot; ); does catch the exception. There is still a lot I don&#039;t understand about Zend Framework.</description>
		<content:encoded><![CDATA[<p>I tried combining the Zend_Navigation example with Zend DB Update and Delete.</p>
<p>The problem is when pages are called that have parameters, e.g. <a href="http://localhost/index/update/1" rel="nofollow">http://localhost/index/update/1</a> it fails with:</p>
<p>Fatal error: Call to undefined method stdClass::setClass() in /usr/local/Zend/apache2/htdocs/quickstart/application/controllers/IndexController.php on line 122</p>
<p>I worked around this problem by checking for:<br />
if ($activeNav != null) { } and this avoids the error but now no breadcrumbs are printed at all for these pages.</p>
<p>I think the solution would be to isolate the action but I don&#8217;t know how to do this.</p>
<p>I tried Jim&#8217;s method of [route]default[/route] but I think this might be off track.</p>
<p>What I also find curious is that wrapping a try &#8211; catch block around $activeNav-&gt;setClass ( &#8220;active&#8221; ); does catch the exception. There is still a lot I don&#8217;t understand about Zend Framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Skoglund</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1557</link>
		<dc:creator>Robin Skoglund</dc:creator>
		<pubDate>Thu, 09 Jul 2009 12:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1557</guid>
		<description>I see a couple of people requesting the XML config syntax. As the author of the component, I should be able to clarify on this.

Zend_Navigation maps &lt;name, value) pairs from the config (that is generated from the XML file) to setter methods. If you have a &lt;label&gt;Home&lt;/label&gt; under a page in your XML, the page object will first look for a method called setLabel(), and call that with the given value. If the method doesn&#039;t exist, the &#039;label&#039; =&gt; &#039;Home&#039; pair is stored as a custom property in the page, which you may access as any other native property. Same goes for a page&#039;s sub pages; &lt;pages&gt;...&lt;/pages&gt; will map to setPages() etc.


The page factory determines which type of page to create (URI, MVC, custom), so the XML syntax depends on the type of page you&#039;re creating.

If you&#039;re creating a URI page, you&#039;ll have the common page options available, plus the &#039;uri&#039; option. All options are listed in tables in the manual:

Common page options:
http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.common.options

URI page options (well, just one, really):
http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.uri.options

MVC page options:
http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc.options

There should be several examples around the manual, showing how to use various properties, including those specified as arrays in the manual.

Hope this helps,
http://twitter.com/robinsk</description>
		<content:encoded><![CDATA[<p>I see a couple of people requesting the XML config syntax. As the author of the component, I should be able to clarify on this.</p>
<p>Zend_Navigation maps &lt;name, value) pairs from the config (that is generated from the XML file) to setter methods. If you have a &lt;label&gt;Home&lt;/label&gt; under a page in your XML, the page object will first look for a method called setLabel(), and call that with the given value. If the method doesn&#8217;t exist, the &#8216;label&#8217; =&gt; &#8216;Home&#8217; pair is stored as a custom property in the page, which you may access as any other native property. Same goes for a page&#8217;s sub pages; &lt;pages&gt;&#8230;&lt;/pages&gt; will map to setPages() etc.</p>
<p>The page factory determines which type of page to create (URI, MVC, custom), so the XML syntax depends on the type of page you&#8217;re creating.</p>
<p>If you&#8217;re creating a URI page, you&#8217;ll have the common page options available, plus the &#8216;uri&#8217; option. All options are listed in tables in the manual:</p>
<p>Common page options:<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.common.options" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.common.options</a></p>
<p>URI page options (well, just one, really):<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.uri.options" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.uri.options</a></p>
<p>MVC page options:<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc.options" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc.options</a></p>
<p>There should be several examples around the manual, showing how to use various properties, including those specified as arrays in the manual.</p>
<p>Hope this helps,<br />
<a href="http://twitter.com/robinsk" rel="nofollow">http://twitter.com/robinsk</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Skoglund</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1556</link>
		<dc:creator>Robin Skoglund</dc:creator>
		<pubDate>Thu, 09 Jul 2009 12:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1556</guid>
		<description>I see a couple of people requesting the XML config syntax. As the author of the component, I should be able to clarify on this.

Zend_Navigation maps  pairs from the config (that is generated from the XML file) to setter methods. If you have a Home under a page in your XML, the page object will first look for a method called setLabel(), and call that with the given value. If the method doesn&#039;t exist, the &#039;label&#039; =&gt; &#039;Home&#039; pair is stored as a custom property in the page, which you may access as any other native property. Same goes for a page&#039;s sub pages; ... will map to setPages() etc.


The page factory determines which type of page to create (URI, MVC, custom), so the XML syntax depends on the type of page you&#039;re creating.

If you&#039;re creating a URI page, you&#039;ll have the common page options available, plus the &#039;uri&#039; option. All options are listed in tables in the manual:

Common page options:
http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.common.options

URI page options (well, just one, really):
http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.uri.options

MVC page options:
http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc.options

There should be several examples around the manual, showing how to use various properties, including those specified as arrays in the manual.

Hope this helps,
http://twitter.com/robinsk</description>
		<content:encoded><![CDATA[<p>I see a couple of people requesting the XML config syntax. As the author of the component, I should be able to clarify on this.</p>
<p>Zend_Navigation maps  pairs from the config (that is generated from the XML file) to setter methods. If you have a Home under a page in your XML, the page object will first look for a method called setLabel(), and call that with the given value. If the method doesn&#8217;t exist, the &#8216;label&#8217; =&gt; &#8216;Home&#8217; pair is stored as a custom property in the page, which you may access as any other native property. Same goes for a page&#8217;s sub pages; &#8230; will map to setPages() etc.</p>
<p>The page factory determines which type of page to create (URI, MVC, custom), so the XML syntax depends on the type of page you&#8217;re creating.</p>
<p>If you&#8217;re creating a URI page, you&#8217;ll have the common page options available, plus the &#8216;uri&#8217; option. All options are listed in tables in the manual:</p>
<p>Common page options:<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.common.options" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.common.options</a></p>
<p>URI page options (well, just one, really):<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.uri.options" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.uri.options</a></p>
<p>MVC page options:<br />
<a href="http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc.options" rel="nofollow">http://framework.zend.com/manual/en/zend.navigation.pages.html#zend.navigation.pages.mvc.options</a></p>
<p>There should be several examples around the manual, showing how to use various properties, including those specified as arrays in the manual.</p>
<p>Hope this helps,<br />
<a href="http://twitter.com/robinsk" rel="nofollow">http://twitter.com/robinsk</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Shin</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1439</link>
		<dc:creator>Serge Shin</dc:creator>
		<pubDate>Mon, 29 Jun 2009 18:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1439</guid>
		<description>Hi Jon!
Cool screencast. It is very good introduction in Zend_Navigation.
P.S. Your previoust tutorial was about Zend_Tool. So why don&#039;t you use it when creating actions?
&lt;b&gt;zf create action contact index 1&lt;/b&gt;
&lt;b&gt;zf create action about index 1&lt;/b&gt;
&lt;b&gt;zf create action sitemap index 0&lt;/b&gt;.
I think it would be useful to teach people to use this stuff.</description>
		<content:encoded><![CDATA[<p>Hi Jon!<br />
Cool screencast. It is very good introduction in Zend_Navigation.<br />
P.S. Your previoust tutorial was about Zend_Tool. So why don&#8217;t you use it when creating actions?<br />
<b>zf create action contact index 1</b><br />
<b>zf create action about index 1</b><br />
<b>zf create action sitemap index 0</b>.<br />
I think it would be useful to teach people to use this stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1405</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Fri, 26 Jun 2009 18:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1405</guid>
		<description>Hello,

I figured out where the mistake was.

It was misconfiguration of the directory directive in httpd.conf. 

   AllowOverride All

Best reguards

Frank</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I figured out where the mistake was.</p>
<p>It was misconfiguration of the directory directive in httpd.conf. </p>
<p>   AllowOverride All</p>
<p>Best reguards</p>
<p>Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1402</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Fri, 26 Jun 2009 16:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1402</guid>
		<description>Same Problem even with SVN code checkout under Windows running ZendServer-ce meanwhile</description>
		<content:encoded><![CDATA[<p>Same Problem even with SVN code checkout under Windows running ZendServer-ce meanwhile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1400</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 26 Jun 2009 13:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1400</guid>
		<description>Do you know some documentation about the syntax/structure/nodes of the navigation.xml?
I guess it has something to do with my xml file.</description>
		<content:encoded><![CDATA[<p>Do you know some documentation about the syntax/structure/nodes of the navigation.xml?<br />
I guess it has something to do with my xml file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1398</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Fri, 26 Jun 2009 13:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1398</guid>
		<description>Zend_Navigation used to be part of the Zym framework: http://www.zym-project.com/docs/reference/zym.navigation.html so there might be a little more information there. In terms of default menu items and modules, you might have to have both modules run a plugin beforehand, or have them inherit from a Base Controller that will setup Zend_Navigation for you.</description>
		<content:encoded><![CDATA[<p>Zend_Navigation used to be part of the Zym framework: <a href="http://www.zym-project.com/docs/reference/zym.navigation.html" rel="nofollow">http://www.zym-project.com/docs/reference/zym.navigation.html</a> so there might be a little more information there. In terms of default menu items and modules, you might have to have both modules run a plugin beforehand, or have them inherit from a Base Controller that will setup Zend_Navigation for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1397</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Fri, 26 Jun 2009 13:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1397</guid>
		<description>I would double check your .htaccess file and make sure that WAMP has mod_rewrite enabled. I just posted a video by Tawfek about how to setup WAMP... it might help you in this case. Also, make sure that you have a front controller specified in you application.ini. If all else fails, I would suggest grabbing the project off of google code and working backwards. Hope that helps,
-
j</description>
		<content:encoded><![CDATA[<p>I would double check your .htaccess file and make sure that WAMP has mod_rewrite enabled. I just posted a video by Tawfek about how to setup WAMP&#8230; it might help you in this case. Also, make sure that you have a front controller specified in you application.ini. If all else fails, I would suggest grabbing the project off of google code and working backwards. Hope that helps,<br />
-<br />
j</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1393</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 26 Jun 2009 10:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1393</guid>
		<description>Jon, 

I&#039;m having problems with my navigation menu. I&#039;ve used your tutorial and now I&#039;ve added a module to my application and I&#039;m not sure how to structure this in my navigation.xml file.

Is there good documentation somewhere about the structure of the navigation.xml?

The problem is that the toplevel pages (default module) are displayes correctly in the menu, but when I click on the menu item that is in the seperate module, the menu dissapears. What I want in the menu are the toplevel default menuitems and also the current module&#039;s page with it&#039;s subpages.

Could you help me with this?</description>
		<content:encoded><![CDATA[<p>Jon, </p>
<p>I&#8217;m having problems with my navigation menu. I&#8217;ve used your tutorial and now I&#8217;ve added a module to my application and I&#8217;m not sure how to structure this in my navigation.xml file.</p>
<p>Is there good documentation somewhere about the structure of the navigation.xml?</p>
<p>The problem is that the toplevel pages (default module) are displayes correctly in the menu, but when I click on the menu item that is in the seperate module, the menu dissapears. What I want in the menu are the toplevel default menuitems and also the current module&#8217;s page with it&#8217;s subpages.</p>
<p>Could you help me with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1392</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Fri, 26 Jun 2009 10:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1392</guid>
		<description>I am not able to navigate on my Windows development system like shown in the Video.

I can see the index page - so far the script is working fine.

But this &quot;/index/about&quot; thing gives me always a 404 !
I changed httpd.conf a lot tweaking with aliases and virtual-hosts - I tested it with ZendServerCE and VertigoServ (another application stack like WAMP or MAMP) without finding a solution...

Best reguards
Frank</description>
		<content:encoded><![CDATA[<p>I am not able to navigate on my Windows development system like shown in the Video.</p>
<p>I can see the index page &#8211; so far the script is working fine.</p>
<p>But this &#8220;/index/about&#8221; thing gives me always a 404 !<br />
I changed httpd.conf a lot tweaking with aliases and virtual-hosts &#8211; I tested it with ZendServerCE and VertigoServ (another application stack like WAMP or MAMP) without finding a solution&#8230;</p>
<p>Best reguards<br />
Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Ellis</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1314</link>
		<dc:creator>Erik Ellis</dc:creator>
		<pubDate>Thu, 18 Jun 2009 22:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1314</guid>
		<description>The most common mistake of them all:
You are not specifying the content-type !!

$this-&gt;_respons-&gt;setHeader(&#039;Content-Type&#039;,&#039;text/xml;charset=utf-8&#039;);

One can&#039;t stress enough how important this.

The HTTP protocol REQUIRES you to ALWAYS give correct Content-Types. The reason why the sitemap looked wierd in Firefox was cuz you did not give a correct content-type header.

And ohh, google can some times ignore your sitemap if its not identified with the correct headers.</description>
		<content:encoded><![CDATA[<p>The most common mistake of them all:<br />
You are not specifying the content-type !!</p>
<p>$this-&gt;_respons-&gt;setHeader(&#8216;Content-Type&#8217;,'text/xml;charset=utf-8&#8242;);</p>
<p>One can&#8217;t stress enough how important this.</p>
<p>The HTTP protocol REQUIRES you to ALWAYS give correct Content-Types. The reason why the sitemap looked wierd in Firefox was cuz you did not give a correct content-type header.</p>
<p>And ohh, google can some times ignore your sitemap if its not identified with the correct headers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1291</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Wed, 17 Jun 2009 15:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1291</guid>
		<description>Hi Diego,

I&#039;m working on Zend ACL for my next video, however I try and keep the components separated unless its absolutely necessary so that they can be explored in their own context. I would probably use the two together by extending the Zend Menu View Helper and overriding the htmlify method by introducing some sort of check from Zend_ACL.</description>
		<content:encoded><![CDATA[<p>Hi Diego,</p>
<p>I&#8217;m working on Zend ACL for my next video, however I try and keep the components separated unless its absolutely necessary so that they can be explored in their own context. I would probably use the two together by extending the Zend Menu View Helper and overriding the htmlify method by introducing some sort of check from Zend_ACL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1290</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Wed, 17 Jun 2009 15:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1290</guid>
		<description>Thank you for putting this together!</description>
		<content:encoded><![CDATA[<p>Thank you for putting this together!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1271</link>
		<dc:creator>Diego</dc:creator>
		<pubDate>Mon, 15 Jun 2009 15:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1271</guid>
		<description>Great Video! Congratulations! Can u explain how to use Zend_Navigation with ACL Rules? I need use Navigation on a system that requires some user levels, so I can&#039;t show all options on menu for all users.</description>
		<content:encoded><![CDATA[<p>Great Video! Congratulations! Can u explain how to use Zend_Navigation with ACL Rules? I need use Navigation on a system that requires some user levels, so I can&#8217;t show all options on menu for all users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1256</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sat, 13 Jun 2009 00:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1256</guid>
		<description>and you&#039;re certain that its called BaseController.php? 

You could also put a require_once statement at the beginning of the IndexController... but you shouldn&#039;t have too... I would double check the include paths.</description>
		<content:encoded><![CDATA[<p>and you&#8217;re certain that its called BaseController.php? </p>
<p>You could also put a require_once statement at the beginning of the IndexController&#8230; but you shouldn&#8217;t have too&#8230; I would double check the include paths.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1244</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 12 Jun 2009 09:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1244</guid>
		<description>@Jon

Jon, I created a new controller called BaseController and extended it from Zend_Controller_Action. After that I used that class to extend my other controllers from this BaseController. 
The weird thing is that I get an error message saying:

Fatal error: Class &#039;BaseController&#039; not found in /../application/controllers/IndexController.php on line 3

line 3 is the class header:
class IndexController extends BaseController

BaseController is in the same folder as the other controllers. What could be the problem?</description>
		<content:encoded><![CDATA[<p>@Jon</p>
<p>Jon, I created a new controller called BaseController and extended it from Zend_Controller_Action. After that I used that class to extend my other controllers from this BaseController.<br />
The weird thing is that I get an error message saying:</p>
<p>Fatal error: Class &#8216;BaseController&#8217; not found in /../application/controllers/IndexController.php on line 3</p>
<p>line 3 is the class header:<br />
class IndexController extends BaseController</p>
<p>BaseController is in the same folder as the other controllers. What could be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JLi</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1235</link>
		<dc:creator>JLi</dc:creator>
		<pubDate>Thu, 11 Jun 2009 15:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1235</guid>
		<description>I have a requirement to build a breadcrumb that would maintain state.

Here is what I&#039;m doing; I&#039;m coding a flow in Zend 1.82 that is made up of the following pages A:Search--&gt;B:List--&gt;C:Detail.  Once on the detail page I would like to have a breadcrumb that would display the following home&gt;search&gt;list; upon clicking either the search or list page I would like the user to be taken back to that page with context (i.e. the original data).  Is there a way to do this with your current example or have you thought about a way someone might do this?

Cheers,
JLi</description>
		<content:encoded><![CDATA[<p>I have a requirement to build a breadcrumb that would maintain state.</p>
<p>Here is what I&#8217;m doing; I&#8217;m coding a flow in Zend 1.82 that is made up of the following pages A:Search&#8211;&gt;B:List&#8211;&gt;C:Detail.  Once on the detail page I would like to have a breadcrumb that would display the following home&gt;search&gt;list; upon clicking either the search or list page I would like the user to be taken back to that page with context (i.e. the original data).  Is there a way to do this with your current example or have you thought about a way someone might do this?</p>
<p>Cheers,<br />
JLi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1230</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Wed, 10 Jun 2009 14:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1230</guid>
		<description>Hey Jim,

Good question! I&#039;ve found it really helpful to create a class (I usually call it BaseController) that inherits from Zend_Controller_Action. 

I then define my preDispatch / init function there with any generalized functionality (i.e. security, general template configuration, default title pages, etc...)

Then I&#039;ll have all my other Controllers extend the BaseController.

If I want to use preDispatch() or init() in those controllers, I simply need to call their parent:

public function preDispatch() {
parent::preDispatch()
// more code here

}

If you want to create functions that will be called in various Controllers across your site, just define them as protected / public in your BaseController. Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hey Jim,</p>
<p>Good question! I&#8217;ve found it really helpful to create a class (I usually call it BaseController) that inherits from Zend_Controller_Action. </p>
<p>I then define my preDispatch / init function there with any generalized functionality (i.e. security, general template configuration, default title pages, etc&#8230;)</p>
<p>Then I&#8217;ll have all my other Controllers extend the BaseController.</p>
<p>If I want to use preDispatch() or init() in those controllers, I simply need to call their parent:</p>
<p>public function preDispatch() {<br />
parent::preDispatch()<br />
// more code here</p>
<p>}</p>
<p>If you want to create functions that will be called in various Controllers across your site, just define them as protected / public in your BaseController. Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1225</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 10 Jun 2009 08:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1225</guid>
		<description>@Jon,

I&#039;ve figured it out. The problem was that the About page was using a router. I didn&#039;t specify routes yet in the navigation file. Now I have specified [route]default[/route] for every page and it works.

Now I have another question. I&#039;m using your setActiveNavigation() function and I&#039;ve copied this function into every controller that is using it. Now I want to put this function in a helper class to avoid the copying everytime. I&#039;ve created a helper class using the Zend_Framework_project features in Zend Studio for Eclipse so all naming should be fine. When I try to use the helperfunction, I get an errormessage that the function doesn&#039;t exist and is not trapped in __call().

What is the the best thing to do?</description>
		<content:encoded><![CDATA[<p>@Jon,</p>
<p>I&#8217;ve figured it out. The problem was that the About page was using a router. I didn&#8217;t specify routes yet in the navigation file. Now I have specified [route]default[/route] for every page and it works.</p>
<p>Now I have another question. I&#8217;m using your setActiveNavigation() function and I&#8217;ve copied this function into every controller that is using it. Now I want to put this function in a helper class to avoid the copying everytime. I&#8217;ve created a helper class using the Zend_Framework_project features in Zend Studio for Eclipse so all naming should be fine. When I try to use the helperfunction, I get an errormessage that the function doesn&#8217;t exist and is not trapped in __call().</p>
<p>What is the the best thing to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eKini: Web Developer Blog &#187; Zend Framework: Navigation and Breadcrumbs with an XML File in ZF 1.8</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1224</link>
		<dc:creator>eKini: Web Developer Blog &#187; Zend Framework: Navigation and Breadcrumbs with an XML File in ZF 1.8</dc:creator>
		<pubDate>Wed, 10 Jun 2009 06:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1224</guid>
		<description>[...] is related to the Making the Built-in Breadcrumb Helper Work I posted earlier. Thanks to Jonathan Lebensold&#8217;s screencast, I am able to create my navigation and breadcrumbs in a better way. Using an XML file makes more [...]</description>
		<content:encoded><![CDATA[<p>[...] is related to the Making the Built-in Breadcrumb Helper Work I posted earlier. Thanks to Jonathan Lebensold&#8217;s screencast, I am able to create my navigation and breadcrumbs in a better way. Using an XML file makes more [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jarno</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1223</link>
		<dc:creator>Jarno</dc:creator>
		<pubDate>Tue, 09 Jun 2009 23:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1223</guid>
		<description>Jon, thanks for the great videos. Are you planning to do one on auth/acl anytime soon?

I think, a forum would be a beneficial addition to your site.</description>
		<content:encoded><![CDATA[<p>Jon, thanks for the great videos. Are you planning to do one on auth/acl anytime soon?</p>
<p>I think, a forum would be a beneficial addition to your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1222</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Tue, 09 Jun 2009 20:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1222</guid>
		<description>hey Jim,
that&#039;s a good question... your navigation hierarchy looks fine here... If you&#039;re talking about the &quot;About&quot; page specifically, then I think you&#039;ll need to add it back into the navigation.xml file since its no longer there. Is the menu rendering at all?</description>
		<content:encoded><![CDATA[<p>hey Jim,<br />
that&#8217;s a good question&#8230; your navigation hierarchy looks fine here&#8230; If you&#8217;re talking about the &#8220;About&#8221; page specifically, then I think you&#8217;ll need to add it back into the navigation.xml file since its no longer there. Is the menu rendering at all?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1220</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 09 Jun 2009 13:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1220</guid>
		<description>Hi Jon,

I’ve created a menu with the help of your tutorial. The .xml I’m using is (Third try to display my xml):

[configdata]
    [nav]
    	[home]
	   		[label]Home[/label]
	   		[controller]index[/controller]
			[action]index[/action]
    		[pages]
    			[contact]
				    [label]Contact[/label]
				    [controller]contact[/controller]
				    [action]index[/action]
				[/contact]
    			[reacties]
				    [label]Reacties[/label]
				    [controller]reacties[/controller]
				    [action]index[/action]
				[/reacties]
    		[/pages]
    	[/home]	
   	[/nav]
[/configdata]

The weird thing is that I cant’ navigate away from the About page anymore. Navigating to and from Home and Contact is fine. Navigating to the About page is also possible, but when on the About page, the links under the menu items are all to the About page itself.

Can you help me with this problem?</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>I’ve created a menu with the help of your tutorial. The .xml I’m using is (Third try to display my xml):</p>
<p>[configdata]<br />
    [nav]<br />
    	[home]<br />
	   		[label]Home[/label]<br />
	   		[controller]index[/controller]<br />
			[action]index[/action]<br />
    		[pages]<br />
    			[contact]<br />
				    [label]Contact[/label]<br />
				    [controller]contact[/controller]<br />
				    [action]index[/action]<br />
				[/contact]<br />
    			[reacties]<br />
				    [label]Reacties[/label]<br />
				    [controller]reacties[/controller]<br />
				    [action]index[/action]<br />
				[/reacties]<br />
    		[/pages]<br />
    	[/home]<br />
   	[/nav]<br />
[/configdata]</p>
<p>The weird thing is that I cant’ navigate away from the About page anymore. Navigating to and from Home and Contact is fine. Navigating to the About page is also possible, but when on the About page, the links under the menu items are all to the About page itself.</p>
<p>Can you help me with this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saiprasad Rakasi</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1217</link>
		<dc:creator>Saiprasad Rakasi</dc:creator>
		<pubDate>Tue, 09 Jun 2009 12:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1217</guid>
		<description>Thanks for all the tuts Jon it really helped me in getting started with Zend quickly.</description>
		<content:encoded><![CDATA[<p>Thanks for all the tuts Jon it really helped me in getting started with Zend quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whisher</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1214</link>
		<dc:creator>whisher</dc:creator>
		<pubDate>Mon, 08 Jun 2009 17:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1214</guid>
		<description>@Jon
Thanks ;)</description>
		<content:encoded><![CDATA[<p>@Jon<br />
Thanks <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen Keppens</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1207</link>
		<dc:creator>Jeroen Keppens</dc:creator>
		<pubDate>Sat, 06 Jun 2009 17:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1207</guid>
		<description>Very interesting! I didn&#039;t use Zend_Nav yet, but I&#039;m implementing it for sure in my next projects... looks very handy.

Jeroen</description>
		<content:encoded><![CDATA[<p>Very interesting! I didn&#8217;t use Zend_Nav yet, but I&#8217;m implementing it for sure in my next projects&#8230; looks very handy.</p>
<p>Jeroen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marry</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1205</link>
		<dc:creator>Marry</dc:creator>
		<pubDate>Sat, 06 Jun 2009 09:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1205</guid>
		<description>Hello Jon,

I just want to thank you for all your videos and in particular this one. It would have taken me some time to figure that one out.

Greetings
Marry</description>
		<content:encoded><![CDATA[<p>Hello Jon,</p>
<p>I just want to thank you for all your videos and in particular this one. It would have taken me some time to figure that one out.</p>
<p>Greetings<br />
Marry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1204</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 05 Jun 2009 14:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1204</guid>
		<description>hey whisher (sorry for the misspelling),

I think you can write a function like this:

	protected function setActiveNavigation()
	{
		$uri = $this-&gt;_request-&gt;getPathInfo();
		$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);
		if ($activeNav == null)
			$activeNav = $this-&gt;view-&gt;navigation()-&gt;findOneByController($this-&gt;_getParam(&#039;controller&#039;));

		if ($activeNav != null)
		{
			$activeNav-&gt;active = true;
			$activeNav-&gt;setClass(&quot;active&quot;);			
		}
	}

You should be able to call it either in preDispatch or in the actual action. I think its best to stick to one kind of format (either uri or controller / action) as a way of making the search tree easily traversed.</description>
		<content:encoded><![CDATA[<p>hey whisher (sorry for the misspelling),</p>
<p>I think you can write a function like this:</p>
<p>	protected function setActiveNavigation()<br />
	{<br />
		$uri = $this-&gt;_request-&gt;getPathInfo();<br />
		$activeNav = $this-&gt;view-&gt;navigation()-&gt;findByUri($uri);<br />
		if ($activeNav == null)<br />
			$activeNav = $this-&gt;view-&gt;navigation()-&gt;findOneByController($this-&gt;_getParam(&#8216;controller&#8217;));</p>
<p>		if ($activeNav != null)<br />
		{<br />
			$activeNav-&gt;active = true;<br />
			$activeNav-&gt;setClass(&#8220;active&#8221;);<br />
		}<br />
	}</p>
<p>You should be able to call it either in preDispatch or in the actual action. I think its best to stick to one kind of format (either uri or controller / action) as a way of making the search tree easily traversed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whisher</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1202</link>
		<dc:creator>whisher</dc:creator>
		<pubDate>Thu, 04 Jun 2009 21:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1202</guid>
		<description>Hi jon.
whisher not wisher ^-^
Thanks for the quick reply.
 
I managed this code
&lt;pre&gt;
class GuestbookController extends Zend_Controller_Action 
{
    public function indexAction()
    {
        $guestbook = new Default_Model_Guestbook();
        $this-&gt;view-&gt;entries = $guestbook-&gt;fetchAll();
    }
     public function signAction()
    {
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByAction(&#039;index&#039;);
		$activeNav-&gt;active = true;
		$activeNav-&gt;setClass(&quot;active-my&quot;);	
        
    }
}
&lt;/pre&gt;

the output is
li class=&quot;active&quot;
a class=&quot;active-my&quot;

but I don&#039;t see any breadcrumbs yet :(


[The reason I got it to work dynamically in the tutorial is because I used the preDispatch method and made sure to specify a tag for each page in my navigation.xml file.]

Sorry may be I miss the point
but there isn&#039;t any preDispatch
in the ControllerIndex.
An example would be gratefully appreciated ;)</description>
		<content:encoded><![CDATA[<p>Hi jon.<br />
whisher not wisher ^-^<br />
Thanks for the quick reply.</p>
<p>I managed this code</p>
<pre>
class GuestbookController extends Zend_Controller_Action
{
    public function indexAction()
    {
        $guestbook = new Default_Model_Guestbook();
        $this-&gt;view-&gt;entries = $guestbook-&gt;fetchAll();
    }
     public function signAction()
    {
        $activeNav = $this-&gt;view-&gt;navigation()-&gt;findByAction('index');
		$activeNav-&gt;active = true;
		$activeNav-&gt;setClass("active-my");	

    }
}
</pre>
<p>the output is<br />
li class=&#8221;active&#8221;<br />
a class=&#8221;active-my&#8221;</p>
<p>but I don&#8217;t see any breadcrumbs yet <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>[The reason I got it to work dynamically in the tutorial is because I used the preDispatch method and made sure to specify a tag for each page in my navigation.xml file.]</p>
<p>Sorry may be I miss the point<br />
but there isn&#8217;t any preDispatch<br />
in the ControllerIndex.<br />
An example would be gratefully appreciated <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1200</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Thu, 04 Jun 2009 17:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1200</guid>
		<description>hi wisher,

in order for the breadcrumb to function correctly, you need to specify which page is active. You can do that manually by finding the node the Zend_Navigation container and then setting the $page-&gt;active = true;

for some reason, your signAction isn&#039;t being setup to pickup the active element in the Zend_Navigation container. The reason I got it to work dynamically in the tutorial is because I used the preDispatch method and made sure to specify a &lt;uri&gt; tag for each page in my navigation.xml file.

hope that helps.

Jon</description>
		<content:encoded><![CDATA[<p>hi wisher,</p>
<p>in order for the breadcrumb to function correctly, you need to specify which page is active. You can do that manually by finding the node the Zend_Navigation container and then setting the $page->active = true;</p>
<p>for some reason, your signAction isn&#8217;t being setup to pickup the active element in the Zend_Navigation container. The reason I got it to work dynamically in the tutorial is because I used the preDispatch method and made sure to specify a <uri> tag for each page in my navigation.xml file.</p>
<p>hope that helps.</p>
<p>Jon</uri></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whisher</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1199</link>
		<dc:creator>whisher</dc:creator>
		<pubDate>Thu, 04 Jun 2009 17:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1199</guid>
		<description>&lt;pre&gt;
-configdata-
    -nav-
    	-home-
	   		-label-Home-/label-
	   		-controller-index-/controller-
	   		-action-index-/action-
   		-/home-
   		-guestbook-
	   		-label-Guestbook-/label-
	   			-controller-guestbook-/controller-
	   		-action-index-/action-
   		-/guestbook-
   	-/nav-
-/configdata-
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>
-configdata-
    -nav-
    	-home-
	   		-label-Home-/label-
	   		-controller-index-/controller-
	   		-action-index-/action-
   		-/home-
   		-guestbook-
	   		-label-Guestbook-/label-
	   			-controller-guestbook-/controller-
	   		-action-index-/action-
   		-/guestbook-
   	-/nav-
-/configdata-
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: whisher</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1198</link>
		<dc:creator>whisher</dc:creator>
		<pubDate>Thu, 04 Jun 2009 17:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1198</guid>
		<description>Hi.
First off I congratulate you
for the site.
Excellent stuff ;)

I&#039;ve a problem with breacrumbs
with this 

$this-&gt;navigation()-&gt;breadcrumbs()-&gt;setMinDepth(0)-&gt;setLinkLast(true)-&gt;setSeparator(&quot; : &quot;);

in the layout.phtml 

I&#039;ve got the first 
breadcrumb when the request uri
is / or /guestbook but nothing when
the uri is /guestbook/sign for instance.

my navigation.xml



    
    	
	   		Home
	   		index
	   		index
   		
   		
	   		Guestbook
	   			guestbook
	   		index
   		
   	



I&#039;m new at zf so can you help me, please ?


Best regards.

Whisher</description>
		<content:encoded><![CDATA[<p>Hi.<br />
First off I congratulate you<br />
for the site.<br />
Excellent stuff <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I&#8217;ve a problem with breacrumbs<br />
with this </p>
<p>$this-&gt;navigation()-&gt;breadcrumbs()-&gt;setMinDepth(0)-&gt;setLinkLast(true)-&gt;setSeparator(&#8221; : &#8220;);</p>
<p>in the layout.phtml </p>
<p>I&#8217;ve got the first<br />
breadcrumb when the request uri<br />
is / or /guestbook but nothing when<br />
the uri is /guestbook/sign for instance.</p>
<p>my navigation.xml</p>
<p>	   		Home<br />
	   		index<br />
	   		index</p>
<p>	   		Guestbook<br />
	   			guestbook<br />
	   		index</p>
<p>I&#8217;m new at zf so can you help me, please ?</p>
<p>Best regards.</p>
<p>Whisher</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_view navigation menu baseUrl - Zend Framework Forum</title>
		<link>http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/comment-page-1/#comment-1197</link>
		<dc:creator>Zend_view navigation menu baseUrl - Zend Framework Forum</dc:creator>
		<pubDate>Thu, 04 Jun 2009 15:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=203#comment-1197</guid>
		<description>[...] navigation menu baseUrl     Hi. I&#039;m having a look at  Zend_Navigation ? creating a menu, a sitemap and breadcrumbs &#124; free Zend Framework screencasts - Zen... btw excellent tutorial   In a nutshell  How can I put/get the baseUrl  in the menu ?  [...]</description>
		<content:encoded><![CDATA[<p>[...] navigation menu baseUrl     Hi. I&#8217;m having a look at  Zend_Navigation ? creating a menu, a sitemap and breadcrumbs | free Zend Framework screencasts &#8211; Zen&#8230; btw excellent tutorial   In a nutshell  How can I put/get the baseUrl  in the menu ?  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

