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/
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: 
http://www.nabble.com/Zend_Navigation-in-application.ini-in-ralphschindler%27s-webninar-tp23954805p23954805.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to