SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Zend Framework Modular Layout
Threaded View
-
Oct 5, 2007, 01:04 #1
Zend Framework Modular Layout
Hello,
I have a problem with Zend Framework's modular layout and I can't find an explanation anywhere...
I want my project to be modular. My file structure is as follows:
Code:root app config config.ini log modules default config controllers IndexController.php models views scripts index.phtml filters helpers mymodule config controllers Mymodule_IndexController.php models views scripts index.phtml filters helpers public index.php bootstrap.php
In my bootstrap file I call
PHP Code:$front->addModuleDirectory('app/modules');
This is no problem
But when I want to load www.example.com/mymodule then it breaks. The problem is it cannot find index.
I tried lot's of different method,but none of them are working. Can somebody help me out? I cannot find an example for this in the documentation...
Bookmarks