Re: [fw-general] Global View Helpers

2008-08-29 Thread Steve Reed
Yep, in your bootstrap is the best place, however I recommend using addHelperPath over setHelperPath as the former will not clear any existing paths you have defined (Zend_View_Helper paths will not be cleared). My bootstrap view configuration looks something like this: $view = new Zend_View(arr

Re: [fw-general] Global View Helpers

2008-08-28 Thread enportugal
Hi, You can register it in your bootstrap $view->setHelperPath('My/View/Helper/','My_View_Helper'); Regards dragonmantank wrote: > > I'm sure I'm just missing something easy, but how do I register my > view helpers so that they are available to all my controllers? Right > now I'm registerin

[fw-general] Global View Helpers

2008-08-28 Thread Chris Tankersley
I'm sure I'm just missing something easy, but how do I register my view helpers so that they are available to all my controllers? Right now I'm registering them in my init() functions but is there a better way of doing this? Or is this something best left to writing an Action Helper for?