Hello Ian,
Try to use the addHelperPath() method.
Regards,
Ádám
On Jan 20, 2008 1:21 PM, Ian Warner <[EMAIL PROTECTED]> wrote:
> hi
>
> I am having real trouble trying to set helper paths.
>
> I assume I can place this anywhere in my code structure - I have tried
> in bootstrap / controllers and a few other places
>
> Pathing - I think I have this correct below though I although I have
> changed this any which way but loose.
>
> $view = new Zend_View();
>
> // Add /other/path/to/helpers with class prefix 'Your_View_Helper'
>
> $view->setHelperPath('D:\AWebEnvironment\htdocs\Site_Template\library\Zend\View\Helper',
> 'Common_Components');
>
> I have this when I throw the stack in the view.
>
> [_path:private] => Array
> (
> [script] => Array
> (
> [0] => sites\admintrianglesolutions\views\scripts\
> )
>
> [helper] => Array
> (
> [0] => Array
> (
> [prefix] => Zend_View_Helper_
> [dir] =>
> sites\admintrianglesolutions\views\helpers\
> )
>
> [1] => Array
> (
> [prefix] => Zend_View_Helper_
> [dir] =>
> D:\AWebEnvironment\ZendFramework-1.0.3\library\Zend\View\Helper\
> )
>
> )
>