I’m just starting with Zend Framework and find it very frustraiting that all
sources out there are referring to the previous versions of the framework –
while I’m using the latest one (recommended) and can’t quite figure out how
to replace all those configuration differences in the new version.
The problem I have is the Action Helpers – how can I register them – in
other words where do I define the path to the action helpers folder.

I’ve seen several options - one with the Bootstrap.php by creating the
method:

protected function _initActionHelpers() {
Zend_Controller_Action_HelperBroker::addPath(
APPLICATION_PATH.”/controllers/helpers”);
}

This however didn’t solve my problem – I’m still getting error: “Fatal
error: Class ‘My_Action_Helper_Initializer’ not found in…”.

Then I’ve also tried to add the path to the application.ini file in the
following way:

resources.frontcontroller.actionhelperpaths.Helper = APPLICATION_PATH
“/controllers/helpers”

But this has caused another error.

Could you please explain how to register path to the Action Helpers in the
Zend Framework 1.9.5/6 ?

I would really appreciate if someone could come up with the full explanation
on how to do it – as for the first time runner with Zend it’s a nightmare to
get it all up and running.

Regards,
-- 
View this message in context: 
http://n4.nabble.com/Action-Helpers-Path-configuration-in-version-1-9-5-tp788751p788751.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to