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 Sym开发者_运维知识库fony?
Thanks for helping. Redstorm
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.
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!
精彩评论