wurmi
wurmi

Reputation: 343

Strategy using multiple modules

Ist there a "best practice" sollution for layouts in a multiple module application.

what its all about: i am trying to create an simple website as a little cms. that includes:

now to my question: is it possible to have an central layout in the frontend-module which appears in all the other modules? i dont want to create for each module an own layout.

thanks in advance

Upvotes: 0

Views: 27

Answers (1)

Tim Fountain
Tim Fountain

Reputation: 33148

What you're describing is how it works out of the box. By default ZF2 will try and render the layout layout/layout. So as long as you have that in your frontend module, it will be used by all other modules unless you specify otherwise.

Upvotes: 1

Related Questions