modules/ --modulename/ ----controllers/ ----config/ ----views/ ------templates/ -------index/ ----------index.phtml --------index.phtmlIve 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.
没有评论:
发表评论