Redstorm
Redstorm

Reputation: 13

One template/layout for two or more applications in Symfony 1.4

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

Answers (2)

Throoze
Throoze

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

Maerlyn
Maerlyn

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

Related Questions