Thanks, that was the trick...addHelperPath assumes 'View_Helper' appended to
the namespace prefix sent as second parameter.
dmitrybelyakov wrote:
>
>
>
> spaceage wrote:
>>
>> Hi,
>> I'm trying to get a custom view helper to work...
>> ...
>> Why the exception?
>>
>
> Hi,
>
> I think the class name should be My_View_Helper_CartVitals().
>
> And i guess the underscore is not required when adding a path:
>
> $view->addHelperPath('/application/views/helpers', 'My');
>
>
> Dmitry.
>
>
>
--
View this message in context:
http://www.nabble.com/View-Helper-paths-tp24006943p24016079.html
Sent from the Zend Framework mailing list archive at Nabble.com.