title: Unable to initialize Jquery(Zendx) and View helpers in Bootstrap.php(ZF: 1.10.8)
body: <p>Im unable to initialize  Jquery(Zendx) and View helpers in Bootstrap.php(ZF: 1.10.8)</p>
  
  <p>But Im able to initialize the same in every controller's init() method.</p>
  
  <p>//My Bootstrap.php</p>
  
  <pre><code>&lt;?php
  
  class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
  {
  
      protected function _initView()
      {
              $view = new Zend_View();
              $view-&gt;doctype('XHTML1_STRICT');
          $view-&gt;addHelperPath('Vapps/View/Helper/','Vapps_View_Helper');
          $view-&gt;addHelperPath('ZendX/JQuery/View/Helper','ZendX_JQuery_View_Helper');
              return $view;
      }
  }
  </code></pre>
  
  <p><strong>Following is the error when i run a simple controller,</strong></p>
  
  <pre><code>Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'JQuery' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/:/opt/lampp/htdocs/schooldir/application/views/helpers/' in /opt/lampp/htdocs/schooldir/library/Zend/Loader/PluginLoader.php:412 Stack trace: #0 /opt/lampp/htdocs/schooldir/library/Zend/View/Abstract.php(1174): Zend_Loader_PluginLoader-&gt;load('JQuery') #1 /opt/lampp/htdocs/schooldir/library/Zend/View/Abstract.php(610): Zend_View_Abstract-&gt;_getPlugin('helper', 'jQuery') #2 /opt/lampp/htdocs/schooldir/library/Zend/View/Abstract.php(336): Zend_View_Abstract-&gt;getHelper('jQuery') #3 [internal function]: Zend_View_Abstract-&gt;__call('jQuery', Array) #4 /opt/lampp/htdocs/schooldir/application/layouts/scripts/layout.phtml(29): Zend_View-&gt;jQuery() #5 /opt/lampp/htdocs/schooldir/library/Zend/View.php(108): include('/opt/lampp/htdo...') #6 /opt/lampp/htdocs/schooldir/library/Zend/View/Abstract.php(880): Zend_View-&gt;_run('/opt/lampp/htdo...') #7 /opt/lamp in /opt/lampp/htdocs/schooldir/library/Zend/Loader/PluginLoader.php on line 412
  </code></pre>
  
  <p><strong>I dont get the same error, if I use the following init() in my controller.</strong></p>
  
  <pre><code>class ViewhelperexampleController extends Zend_Controller_Action
  {
  
  
      public function init() {
  
      $this-&gt;view-&gt;addHelperPath('ZendX/JQuery/View/Helper','ZendX_JQuery_View_Helper');
      $this-&gt;view-&gt;addHelperPath('Vapps/View/Helper/','Vapps_View_Helper');
  
  
      }
  
  
  
      public function indexAction()
      {
  
  
      }
  
  
  }
  </code></pre>
  
  <p>Kindly help me out. Thanks in advance.</p>