Shared layout for module won't show

Notice: This thread is very old.
WindBridges
Member | 10
+
0
-

Hello. I'm beginner for this framework.
I have such application structure:

<?php
app
|---MembersModule
    |---presenters
    |   |---StatsPresenter.php
    |---templates
        |---Stats.default.latte
        |---@layout.latte
?>

Result is Stats.default.latte template is shown without wrapping into @layout.latte. What is the problem?

Majkl578
Moderator | 1364
+
0
-

You might be missing the {block #content} at the beginning of your template (expecting you have {include #content} in the layout).

WindBridges
Member | 10
+
0
-

Majkl578 wrote:

You might be missing the {block #content} at the beginning of your template (expecting you have {include #content} in the layout).

Yes, this was a reason. Thanks!