Hi, i have the following simple class that just adds some extra text to the label: class My_Model_Menu_Page extends Zend_Navigation_Page_Mvc { public function getLabel(){ return "0" . $this->getOrder() . " " . $this->_label; } }
...and the following entry in an xml config file to create the menu structure: <about> <label>About</label> <uri>/about</uri> <type>My_Model_Menu_Page</type> <order>1</order> </about> <news> <label>News</label> <uri>/news</uri> <type>My_Model_Menu_Page</type> <order>2</order> </news> ...and although it is correctly loading my page class, the link does not contain the href. It works fine if i take out the reference to my own page class. I have even tried: class My_Model_Menu_Page extends Zend_Navigation_Page_Mvc { public function getLabel(){ return "0" . $this->getOrder() . " " . $this->_label; } public function getHref(){ return parent::getHref(); } } ...but that doesn't work either. What am i doing wrong? -- View this message in context: http://n4.nabble.com/custom-zend-navigation-page-not-showing-url-tp1568465p1568465.html Sent from the Zend Framework mailing list archive at Nabble.com.