Best way to deal with multiple layouts in symfony

Posted by Pierre on Stack Overflow See other posts from Stack Overflow or by Pierre
Published on 2010-04-19T15:40:03Z Indexed on 2010/04/19 15:43 UTC
Read the original article Hit count: 295

Filed under:
|

Hey folks. I'm looking for the best way to do something simple in symfony.

Basically, I have a module in which all the pages will contain the same header and footer. That module also shares the same general layout as the other modules.

I'm just wondering, should I create one file and have my content pages called up as partials or should all files have their own content and somehow call the two other templates.

I made a quick example of my setup: http://grab.by/3Riy

Hopefully, it'll help understand what I'm trying to do.

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about symfony