title: zf1: trying to add a navigation menu
body: <p>I'm following this video <a href="http://www.zendcasts.com/zend_navigation-dynamically-creating-a-menu-a-sitemap-and-breadcrumbs/2009/06/" rel="nofollow">tutorial</a> to add a navigation menu.</p>
  
  <p>So i just added to my <code>Bootstrap.php</code> the function that it says at the beginning of the video (<code>_initNavigation()</code>), so now it is like this:</p>
  
  <pre><code>class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
  {
  
      protected function _initRequest()
      {
          require_once 'Zend/Loader.php';
          Zend_Loader::loadClass('Zend_Translate');
          $translate = new Zend_Translate('array', APPLICATION_PATH . '/languages', null, array('scan' =&gt; Zend_Translate::LOCALE_FILENAME));
  
          $translate-&gt;setLocale('en');
          Zend_Registry::set('Zend_Translate', $translate);
      }
  
      protected function _initNavigation()
      {
          $this-&gt;bootstrap('layout');
          $layout = $this-&gt;getResource('layout');
          $view = $layout-&gt;getView();
          $config = new Zend_Config_Xml('/home/tirengarfio/workspace/contractlink/contractlink/wwwAPP/configs/navigation.xml', 'nav');
  
          $navigation = new Zend_Navigation($config);
          $view-&gt;navigation($navigation);
      }
  }
  </code></pre>
  
  <p>But after that I'm getting this error:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception'
    with message 'Plugin by name 'Language' in
    /home/tirengarfio/workspace/contractlink/contractlink/library/Zend/Controller/Plugin/Broker.php
    on line 336</p>
  </blockquote>
  
  <p>That error is related to a helper I created, but I didn't get that error before adding the <code>initNavigation()</code> function in the <code>Bootstrap.php</code> file.. So I think the error could be because the new function.. any help?</p>