Module specific layout

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Module specific layout

Emmanuel GAUTHIER
Hi Everyone,

Could you explain me why it'sn't possible to configure module specific
layout in ZF2 ?
Thank you.


--
Emmanuel GAUTHIER
Tél : 06 45 34 00 97
Reply | Threaded
Open this post in threaded view
|

Re: Module specific layout

Marco Pivetta
Actually, you can do that through a listener.

Check https://github.com/EvanDotPro/EdpModuleLayouts for an example.

Also, please don't think of modules as a "section" of your site. Modules
are here to help you add functionality to your application, not to just add
controllers/routes :)

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/



On 6 December 2012 17:36, Emmanuel GAUTHIER <[hidden email]> wrote:

> Hi Everyone,
>
> Could you explain me why it'sn't possible to configure module specific
> layout in ZF2 ?
> Thank you.
>
>
> --
> Emmanuel GAUTHIER
> Tél : 06 45 34 00 97
>