I too was struggling with this and I put the issue aside to deal with other problems. Then I started implementing Module-level ini configurations following this post :Quote: Posted by leigh_m
Did you put the following in your application.ini:
resources.modules = ""
This worked for me.
I tried that before and it bombed out with some error. I'll try again tonight though.
Zend Framework: module config | vandenbos.org
and discovered the solution to getting Module-level Bootstrap files to actually load.
The answer to the problem is not in any of the documentation I have read regarding Module implemention in Zend Framework. But all you need to do is to add 'resources.modules[] = ' to your application.ini file. This line will then enable the loading of your module Bootstrap.php files.
Remember to name the module-level Bootstrap class after your module. eg.
'class Admin_Bootstrap extends Zend_Application_Module_Bootstrap' or you will get an error about 'Cannot redeclare class Bootstrap'.
Hope this helps.


LinkBack URL
About LinkBacks





Reply With Quote