How to add a view helper directory (zend framework)
Posted
by Cédric Girard
on Stack Overflow
See other posts from Stack Overflow
or by Cédric Girard
Published on 2010-02-25T16:15:24Z
Indexed on
2010/06/03
4:44 UTC
Read the original article
Hit count: 441
Hi,
I begin with ZF (1.9.7), and I want to use View Helpers from a library shared between all my projects. But I can't find how to add it directory to the helpers path. My herpers works fines when I put them in application's helpers path.
Here is the error, where I find the path to ZF helpers, and path to the applications ones.
object(ArrayObject)#71 (3) {
["exception"]=>
object(Zend_Loader_PluginLoader_Exception)#70 (6) {
["message:protected"]=>
string(151) "Plugin by name 'Voo' was not found in the registry; used paths:
Zend_View_Helper_: Zend/View/Helper/;C:/ZendStd/www/applis/VOO4_PROJECTX/views\helpers/"
["string:private"]=>
string(0) ""
["code:protected"]=>
int(0)
["file:protected"]=>
string(89) "C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Loader\PluginLoader.php"
["line:protected"]=>
int(401)
Best regards
Cédric
© Stack Overflow or respective owner