2009年3月30日星期一

Re: [fw-mvc] Module specific Views

Sorry submitted by mistake and then couldnt edit.... Im having trouble figuring out certain behavior. I have a modular dir structure, with a module lookin like this:
 modules/ --modulename/ ----controllers/ ----config/ ----views/ ------templates/  -------index/ ----------index.phtml --------index.phtml 
Ive gotten it to work but its kind of wierd... It always throws an error saying it can find the view script if both modulename/views/templates/index.phtml and modulename/views/templates/index/index.phtml arent present. Why does it need modulename/views/templates/index.phtml? It doesnt seem to be using it for anything. When the view is successfully rendered it only consists of my layout (located in application/layouts/layout.phtml) wrapping the modulename/views/templates/index/index.phtml.

View this message in context: Re: Module specific Views
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: