0
可能重複:
Zend Framework - multiplate navigation blocksZend的導航行爲不端
我想通過在一個頁面上,使用Zend_Navigation給一個以上的鏈接...
例如
這樣,
echo $this->navigation()->topmenu();
echo $this->navigation()->menu();
echo $this->navigation()->footermenu();
,但我不能這樣做...
當我使用像下面的代碼只是工作這一個
echo $this->navigation()->menu();
我使用像下面的代碼。
$container = new Zend_Config_Xml(APPLICATION_PATH .'/configs/navigation.xml' 'nav_top');
$navigation = new Zend_Navigation($container);
$view->navigation($navigation);
如何創建在同一頁面中不同的鏈接...