title: Zend_Navigation error while trying to render menu ("Unknown Method navigation->menu()")
body: <p>I've got another problem with Zend. I am trying to get Zend_Naviation to work, it seems to be pretty simple but no matter how I implement it i get the same error:</p>
  
  <pre><code>Zend_Navigation_Exception: Bad method call: Unknown method Zend_Navigation::menu in C:\wamp\www\ehu\library\Zend\Navigation\Container.php on line 358
  </code></pre>
  
  <p>I know there is a method "menu", i've seen it working many times. </p>
  
  <p>I am trying to render this menu in layout, i tried to use View Helper to prepare navigation in PHP as well as config XML file initialized in bootstrap (like below) but neither of them worked.</p>
  
  <pre><code>protected function _initNavigation() 
  {
  
          $this-&gt;bootstrap("layout");
          $layout = $this-&gt;getResource('layout');
          $view = $layout-&gt;getView();
  
          $config = new Zend_Config_Xml(APPLICATION_PATH . '/configs/navigation.xml','nav');
          $navigation = new Zend_Navigation($config);
  
          $view-&gt;navigation($navigation);
  
  }
  </code></pre>
  
  <p>EDIT OK, now i know where is the problem - for my webpage i am not using a default layout.phtml but page.html. How to modify the above code to make the menu work in page.phtml? It seems to work fine in the default layout.phtml </p>