Have you got
resources.modules = ""
in your application.ini (or equivalent)? This causes the modules
resource to be instantiated, which is responsible for calling the
bootstrappers for all modules.
Thanks. I was missing this.
After I added
[code]
resources.modules = APPLICATION_PATH "/modules"
[/code]
in application.ini, autoload is working fine.
I notice that you have a default module inside your modules
directory. when Zend_Tool creates
a new project the default modules controllers, models, views are
located in
Yes, this is the recommended directory structure - default module in the
"application" directory (ie. not under the modules directory)
I actually followed the directory structure specified in the manual:
http://framework.zend.com/manual/en/zend.controller.modular.html -
scroll down to 12.11.2. Specifying Module Controller Directories. The
example demonstrating the addModuleDirectory() has default directory in
application/modules.
--
With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net,
Personal: http://sudheer.net