View Single Post
  #3 (permalink)  
Old 07-15-2008, 08:09 AM
dele454's Avatar
dele454 dele454 is offline
Member
 
Join Date: Jun 2008
Posts: 48
Default

Quote:
Originally Posted by jweber View Post
You need to tell Zend_View where your helpers are, following your example (assuming your library is on drive w:\, for the sake of the example):

Code:
// instantiate the view and save Zend_View object to a variable
$view = new Zend_View();

// add to the helper path
$view->addHelperPath('W:\library\Addon\View\Helper', 'Addon_View_Helper');

$renderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$renderer->setView($view);

I did all that before i posted this post. I tried a full path to the directory too but nothing still.
Reply With Quote