Re: [fw-general] Problem with ZF helper

2007-07-31 Thread minglee
Thanks you, Mathew, I'll try! Matthew Weier O'Phinney-3 wrote: > > -- minglee <[EMAIL PROTECTED]> wrote > (on Tuesday, 31 July 2007, 09:49 AM -0700): >> I did according to you told, but an error of "Action Helper find by name >> 'MyHelp' not found' occurred. 'MyHelp' is the name of helper class.

Re: [fw-general] Problem with ZF helper

2007-07-31 Thread Matthew Weier O'Phinney
-- minglee <[EMAIL PROTECTED]> wrote (on Tuesday, 31 July 2007, 09:49 AM -0700): > I did according to you told, but an error of "Action Helper find by name > 'MyHelp' not found' occurred. 'MyHelp' is the name of helper class. I think > there is a path setting problem. What is your suggestion for my

Re: [fw-general] Problem with ZF helper

2007-07-31 Thread minglee
Hi, 13sio I did according to you told, but an error of "Action Helper find by name 'MyHelp' not found' occurred. 'MyHelp' is the name of helper class. I think there is a path setting problem. What is your suggestion for my case? I put MyHelp in /wwwroot/zf/application/helpers/. Thanks a lot! 13s

Re: [fw-general] Problem with ZF helper

2007-07-31 Thread minglee
I see, thank you, 13sio! 13sio wrote: > > Hi minglee, > > For Zend_Controller_Action_HelperBroker::addPath(string $path, [string > $prefix = 'Zend_Controller_Action_Helper']), the second argument is the > prefix of the helpers. > > In your case, > Zend_Controller_Action_HelperBroker::addPath('

Re: [fw-general] Problem with ZF helper

2007-07-31 Thread 13sio
Hi minglee, For Zend_Controller_Action_HelperBroker::addPath(string $path, [string $prefix = 'Zend_Controller_Action_Helper']), the second argument is the prefix of the helpers. In your case, Zend_Controller_Action_HelperBroker::addPath('./application/helpers/', 'MyHelper') means that the helper

[fw-general] Problem with ZF helper

2007-07-30 Thread minglee
Hi, guys. I wrote a helper class (extends Zend_Controller_Action_Helper_Abstract), and put it in 'wwwroot/zf/application/helpers/', named as MyHelper. Then I add 'Zend_Controller_Action_HelperBroker::addPath('/zf/application/helpers/', 'MyHelper');' in init() method of my controller class, and c