That is not going to work as the config is run during application bootstrap, which is done before routing.

See Mathew's post for more info - http://weierophinney.net/matthew/archives/234-Module-Bootstraps-in-Zend-Framework-Dos-and-Donts.html

On 4/1/2010 9:58 AM, Diego Potapczuk 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

Reply via email to