This is exactry whay I'm trying to do, but it is not working. (modulename.resources.layout.layoutPath = "views/layouts")
Fixed it another way. ::: Diego Potapczuk »» Analista de sistemas »» Tel: (71) 3287-8343 / (71) 9144-3062 »» http://www.diegoliveira.com.br On Thu, Apr 1, 2010 at 11:07 AM, scs <[email protected]> wrote: > Hi, > I am not sure whether this is the reason or not(-I am doing this via a > plugin-) but you can try to define the layoutPath as well: > modulename.resources.layout.layoutPath = "views/layouts" > > scs > > On Thu, Apr 1, 2010 at 4:58 PM, Diego Potapczuk <[email protected]> > wrote: > > I'm trying to specify a layout for a module but the old way is not > working > > anymore, don´t know if something has changed. > > > > Here is how I'm trying: > > > > ;;; View > > resources.view.encoding = "utf-8" > > resources.view.doctype = "XHTML1_TRANSITIONAL" > > resources.view.contentType = "text/html;charset=utf-8" > > resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts" > > resources.layout.layout = "conteudos-digitais/layout" > > resources.layout.viewSuffix = "php" > > conteudoDigital.resources.layout.layout = "conteudos-digitais/layout" > > espacoAberto.resources.layout.layout = "espaco-aberto/layout" > > > > > > > > ::: Diego Potapczuk > > >
