Hey Wenbert,

not sure if you're interested in using an XML file instead, but I did a 20
minute video on Zend_Navigation last week that covers breadcrumbs, menus and
generating a sitemap:

http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/

Best,
-
Jon

On Tue, Jun 9, 2009 at 10:50 PM, wenbert <[email protected]> wrote:

> On slide 29, Ralph provided the following in application.ini
> http://www.slideshare.net/ralphschindler/zend-framework-18-features-webinar
>
> ;application.ini
>
> resources.navigation.pages.dashboardIndex.label = "Dashboard"
> resources.navigation.pages.dashboardIndex.controller = "dashboard"
> resources.navigation.pages.dashboardIndex.action = "index"
>
> resources.navigation.pages.createOrder.label = "Create Order"
> resources.navigation.pages.createOrder.controller = "createorder"
> resources.navigation.pages.createOrder.action = "index"
>
> Then on my layout.phtml, i tried to echo $this->navigation();
>
> //layout.phtml
> Zend_Debug::dump($this->navigation()); //outputs NULL
> echo $this->navigation(); //outputs nothing...
>
> What else do I need to do?
> Currently, I have something setup like this:
> http://blog.ekini.net/2009/05/25/zend-framework-making-the-built-in-breadcrumb-helper-work/but
>  I was hoping to put the navigation container in a config file to make
> customization easier. I tried Ralph's example from his slides, but it
> doesn't work. Any ideas?http://blog.ekini.net
>
> ------------------------------
> View this message in context: Zend_Navigation in application.ini in
> ralphschindler's 
> webninar<http://www.nabble.com/Zend_Navigation-in-application.ini-in-ralphschindler%27s-webninar-tp23954805p23954805.html>
> Sent from the Zend Framework mailing list 
> archive<http://www.nabble.com/Zend-Framework-f15440.html>at Nabble.com.
>

Reply via email to