Hi,

I'm trying to setup Zend_Application to use module autoloader for view
helpers.

Earlier I used to add helper path manually:
$view->addHelperPath('path/to/views/helpers/', 'My_View_Helper');

Now as Zend_Application_Module_Autoloader has this information and it is
correctly bootstrapped, I expect that earlier declaration is redundant.

But at least in my application it doesn't work as I expect.

$view->helperTitle(); -- produces an error from PluginLoader.

I'm missing something or just doing something wrong?

PS.: $loader->load('helperTitle', 'viewhelper'); -- works.

--
Pagarbiai,
Vladas Diržys
Tel.: +370 620 69020
www.dirzys.com
>
>

Reply via email to