View Single Post
  #4 (permalink)  
Old 03-12-2008, 02:43 PM
dflood dflood is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default

I'm not sure how Zend_Loader applies. My controllers are already loading properly, my problem is that I don't know how to change where ZF is looking for my views.

If you happen to have multiple modules that have the same controller names, what happens? Using 'admin' and 'public' as modules, here's an example:

http://site/admin/user/edit

and

http://site/public/user/edit

Both are going to try to pull the view from:

.../view/scripts/user/edit.phtml

An obvious workaround would be to never use the same name for controllers in different modules, but it seems like there should be a better way to control where views are stored.
Reply With Quote