Is it possible to add an additional layer for rendering (with events or something else)? I mean not just like a partial but like a layout or the main view with its own $this->getContent(). Now the structure is like this:
<main view>
<controller layout>
<action view>
<direct output from controller>
</action view>
</controller layout>
</main view>
But I want like this:
<main view>
<some site's section layout> |
<controller layout> |
<action view> |\
<direct output from controller> | wrapping controller layout with custom layout
</action view> |/
</controller layout> |
</some site's section layout> |
</main view>
I'm interested in a way without cutting the custom layout into head/foot parts...