2009年5月27日星期三

Re: [fw-mvc] urgent please.. bootstrap fopr 1.8.1

On Wednesday 27 May 2009 04:51:45 kimho wrote:
> Miguel Vieira Dr. (e-mail pessoal) wrote:
> > Nobody can tell me an example of a bootstrap to the new version of
> > Zend Framework, I wanted an example for multiple modules (Admin, Auth
> > and default) ... and multiple layouts ... my problem is
> > application.ini ..
> >
> > Saudações Cordiais,
> > Miguel Vieira
> > IT ANALYST
>
> I think what this post I wrote just now will really fit your need :
>
> http://kimbs.info/blog/list/post/8/title/implement-multi-modules-and-multi-
>templates-in-Zend-Framework

If I'm reading the problem right (layout per module), you can set it in
application.ini, as per the doc (news is the module name):

[production]
news.resources.layout.layout = "news"

http://framework.zend.com/manual/en/zend.application.available-
resources.html#zend.application.available-resources.modules

--
Dado

没有评论: