Yes, I am aware of that. I think the best approach will be to specify for
each module a bootstrap (if there is more then one module and a modules
directory was set) otherwise just use the old way. If it will be possible it
will be even better to have a main application bootstrap and each module
wil
On 7 May 2009, at 12:11, Erwin Toze wrote:
in /application/Bootstrap.php:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
protected function _initView()
{
Zend_Layout::startMVC(array('layoutPath' =>
'../application/layouts'));
}
}
in /application/modules/default/
t welcome.
>>
>> Karl
>>
>> ----------
>> *From:* Erwin Toze [mailto:tozer...@gmail.com]
>> *Sent:* 07 May 2009 12:59 PM
>> *To:* Karl
>> *Subject:* Re: [fw-general] Modules using zend_application
>>
>> 2009/5/7 Karl
-
> *From:* Erwin Toze [mailto:tozer...@gmail.com]
> *Sent:* 07 May 2009 12:59 PM
> *To:* Karl
> *Subject:* Re: [fw-general] Modules using zend_application
>
> 2009/5/7 Karl
>
>> Hi,
>>
>> I am still trying to figure out how to have different
2:59 PM
To: Karl
Subject: Re: [fw-general] Modules using zend_application
2009/5/7 Karl
Hi,
I am still trying to figure out how to have different layouts per module
without overriding my main applications layout, so I unfortunately don't
have examples for you.
I'm also strug
I did the same thing and have the same problem.
On Thu, May 7, 2009 at 2:11 PM, Erwin Toze wrote:
> 2009/5/7 Karl
>
>> Hi,
>>
>> I am still trying to figure out how to have different layouts per module
>> without overriding my main applications layout, so I unfortunately don't
>> have examples
2009/5/7 Karl
> Hi,
>
> I am still trying to figure out how to have different layouts per module
> without overriding my main applications layout, so I unfortunately don't
> have examples for you.
>
I'm also struggling with module specific layout, for instance, if i have:
two layout files:
/ap
ly don't
> have examples for you.
>
> Regards,
> Karl
>
> --
> *From:* Vadim Gabriel [mailto:vadim...@gmail.com]
> *Sent:* 07 May 2009 11:28 AM
> *To:* Karl
>
> *Cc:* Zend Framework - General
> *Subject:* Re: [fw-general] Mo
without overriding my main applications layout, so I unfortunately don't
have examples for you.
Regards,
Karl
_
From: Vadim Gabriel [mailto:vadim...@gmail.com]
Sent: 07 May 2009 11:28 AM
To: Karl
Cc: Zend Framework - General
Subject: Re: [fw-general] Modules using zend_application
to:vadim...@gmail.com]
> Sent: 07 May 2009 11:00 AM
> To: Mon Zafra
> Cc: Zend Framework - General
> Subject: Re: [fw-general] Modules using zend_application
>
>
> Hey,
>
> "About the workshop controller problem, that's probably a rewrite issue or
> a
>
Hi Vincent
- See response to your questions below. This is what I understand from the
modular structure.
From: Vadim Gabriel [mailto:vadim...@gmail.com]
Sent: 07 May 2009 11:00 AM
To: Mon Zafra
Cc: Zend Framework - General
Subject: Re: [fw-general] Modules
Hey,
"About the workshop controller problem, that's probably a rewrite issue or a
wrong base url setting. "
Reading that i was like "yea right..." but then i noticed that i emptied the
baseUrl property in the config.php file and therefore it throw that
exception. Removing that just worked. And mo
The module bootstraps will not be executed unless the Modules bootstrap
resource plugin is enabled. Since (I guess) you're using Zend_Tool now, just
add the line 'resources.modules = 1' in application.ini. If you aren't using
a config, there are a couple of ways (that I know of) to enable it:
1. V
Hi Vincent,
This is how I managed to get it working.
extract from .ini
# Bootstrapping
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
# Front Controller
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.frontController.defaultC
14 matches
Mail list logo