How to add a view helper directory (zend framework)

It can be done very easily with the built in Zend_Application resource for the view. If you’re using ini configs, add a line like this:

resources.view.helperPath.My_View_Helper = "My/View/Helper"

The end of the key is the class name prefix, and the value the path where they reside.

Leave a Comment