View Single Post
  #2 (permalink)  
Old 04-22-2008, 02:58 PM
Elemental's Avatar
Elemental Elemental is offline
Senior Member
 
Join Date: Jul 2007
Posts: 122
Default

The problem is that your forms directory isn't in your include path. Two possible solutions would be to:
1. Add the forms directory to the include in the contollers init() function. The bad is that you have to do this for every controller, resulting in lots of repeated code.

2. Make a plugin to add the forms directory. This is probably the better solution. You can find an example with model loading here. Some minor alterations will get you up and going.
__________________
Zend Framework Resources: Zend Webinars | Reference Manual | API Docs | Books | FreeNode: #zftalk
Getting Started Tutorials: Getting started with ZF | Getting started with Zend Auth
Reply With Quote