|
|||
|
Working on moving a site onto the Zend Framework and I seem to be missing something.
Have the following File / Dir structure Code:
/application
/modules
/registration
/controllers
Registration_FormsController.php
Registration_IndexController.pfp
/views
/scripts
/forms
adult.phtml
child.phtml
/index
index.phtml
/default
/controllers
IndexController.php
/views
/scripts
/index
index.phtml
http://localhost/index/ - loads index.phtml from default module http://localhost/registration/ - loads index.phtml from registration module http://localhost/registration/forms loads index.phtml from registration module http://localhost/registration/forms/child throws an action exception (no child) The last 2 I am at a loss on why they act that way or what I am missing Bootstrap sets: PHP Code:
PHP Code:
Any help / advice etc is appreciated. Thanks! |
|
|||
|
DOH that did it. Works Perfectly now.
Misread an error message or tutorial somewhere to get the Registration_FormsController.php and had tried the Registration_FormsController class to no avail. Thanks a mil! Once I get all this figured out the first time around the other 20 or so websites I plan to convert over to ZF should go much easier. This first one is deffinately being a bear though. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|