Hi all,

I can use Zend_View_Helper scripts. I can also use my own namespaced Mnb_View_Helper scripts. What I can't figure out is how to use "local" view helpers.

Standard layout (using zf-1.11):

APPLICATION_PATH/views/filters
                      /helpers    <------
                      /scripts

$this->getHelperPaths()
array(
  ['Zend_View_Helper_'] => array(
    [0] => 'Zend/View/Helper/'
    [1] => APPLICATION_PATH . '/views/helpers/'  <--------
  )
  ['Mnb_View_Helper_'] => array(
    [0] => 'Mnb/View/Helper/'
  )
)

...shows all the paths where helpers can be found but when I try to use a helper in ...views/helpers I get unknown application error.

How do I use those? Is there a special way to refer to them? Must they be an extension of Zend_View_Helper?

TIA for any and all help,
Mike Wright

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to