Best way to deal with multiple layouts in symfony
- by Pierre
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!