Try $this->addPrefixPath('My_Form', 'My/Form'); -- *Hector Virgen* Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com
On Wed, Jul 14, 2010 at 4:07 PM, Wil Moore III <wil.mo...@wilmoore.com>wrote: > > Hi, > > I am using PHP 5.3 with Zend Framework 1.10.6. In attempting to create a > custom form element, I had trouble getting it to lazy load via the plugin > loader. I am autoloading with Zend_Loader_Autoloader and classes are > namespaced according to the PSR-0 standard/convention. > > My view helper and element look something like: > > namespace my\form\element; > class Button extends \Zend_Form_Element_Submit > > > namespace my\view\helper; > class FormButton extends ... > > > Using addElementPrefixPath does not seem to help. I've tried every > permutation that I could think of that would make any sense. > > Any ideas as to the correct way to do this or a pointer to an example of > this being done would be helpful. > > Thanks, > > > -- > Wil Moore III > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/Zend-Form-Custom-Element-PHP-5-3-tp2289497p2289497.html > Sent from the Zend Framework mailing list archive at Nabble.com. >