View Single Post
  #1 (permalink)  
Old 04-29-2008, 05:43 PM
freenity freenity is offline
Junior Member
 
Join Date: Apr 2008
Posts: 8
Default custom view helpers

Hi
I made my custom view helper andto use them I have to add my path to the view object:


PHP Code:
$view->addHelperPath("../application/default/views/helpers"); 

But, the problem is that I have to do this in every action where I want to use my helper, and I can't find a way to set this path once, say in a bootstrap....

Is there any easy and fun ways of doing this? and not having to add the path in every action..

Thanks.
Reply With Quote