Re: [fw-general] Modules using zend_application

2009-05-07 Thread Vadim Gabriel
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Tim Brayshaw
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/

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Erwin Toze
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Vadim Gabriel
- > *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

RE: [fw-general] Modules using zend_application

2009-05-07 Thread Karl
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Vadim Gabriel
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Erwin Toze
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Vadim Gabriel
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

RE: [fw-general] Modules using zend_application

2009-05-07 Thread Karl
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Vadim Gabriel
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 >

RE: [fw-general] Modules using zend_application

2009-05-07 Thread Karl
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Vadim Gabriel
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

Re: [fw-general] Modules using zend_application

2009-05-07 Thread Mon Zafra
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

RE: [fw-general] Modules using zend_application

2009-05-07 Thread Karl
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