title: Zend: Where/how can I register custom view helpers?
body: <p>In my <code>layout.phtml</code> file I have :</p>
  
  <pre><code>&lt;?php echo $this-&gt;Test(); ?&gt;
  </code></pre>
  
  <p>I have created a Test view helper at <code>application/views/helpers/Test.php</code></p>
  
  <pre><code>&lt;?php 
  
  class My_View_Helper_Test extends Zend_View_Helper_Abstract {
  
      public function Test() {
          return 'test';
      }
  
  }
  </code></pre>
  
  <p>And my config file @ <code>configs/application.ini</code>:</p>
  
  <pre><code>resources.view[] = ''
  resources.view.helperPath = APPLICATION_PATH "/views/helpers"
  </code></pre>
  
  <p>Error I get:</p>
  
  <blockquote>
    <p>Zend_Loader_PluginLoader_Exception:
    Plugin by name 'Test' was not found in
    the registry; used paths:
    Zend_View_Helper_:
    Zend/View/Helper/:./views/helpers/ in
    /usr/share/php/Zend/Loader/PluginLoader.php
    on line 406</p>
  </blockquote>
  
  <p>On a similar note I can't register my admin view helper either..</p>
  
  <pre><code>resources.view.helperPath.Admin_View_Helper = APPLICATION_PATH "/modules/admin/views/helpers"
  </code></pre>
  
  <p>My <code>modules/admin/views/helpers/AdminPanel.php</code>:</p>
  
  <pre><code>&lt;?php
  
  class My_View_Helper_AdminPanel extends Zend_View_Helper_Abstract {
  
  public function AdminPanel() { return 'test'; }
  
  }
  </code></pre>
  
  <p>Do I have no choice but to do this in the Bootstrap with addHelperPath? If so could someone demonstrate how I would using my paths?</p>