Reputation: 13
I'm working with symfony 1.4.8.
Is there a way to create one general template/layout for two or more applications?
Is this even possible in Symfony?
Thanks for helping. Redstorm
Upvotes: 1
Views: 340
Reputation: 4038
Take a look at this article:
Sharing layouts cross-application in symfony
I ran into the same question and that's the one I found more symfony-like and clean. Hope you can still use it!
Upvotes: 0
Reputation: 34107
I don't think there's a supported way to do that, plugins can only help you with modules/templates, not with the layout.
Your best option is to symlink/hardlink one layout to the other, so you don't need to update both manually.
Upvotes: 2