This is an old revision of the document!


Section

Within a template's format there need to be areas where users can insert their layout blocks. These areas, effectively holes in your design where you plug in content, are called sections.

A typical layout might have a section for the header, body, and footer. The content that you plug into sections takes the form of blocks that are stored in your Block Library.

To mark the start and end of a section use the follow HTML comment codes:

<!--This is the body container for my template-->
<table width="600">
    <tr>
        <td>
        <!--SectionStart MaxWidth="600"-->
 
        Users will add their blocks here...
 
        <!--SectionFinish-->
        </td>
    </tr>
</table>

Section properties

Property Required Description
MaxWidth No By default, any blocks which have a Width property greater than a section's MaxWidth will not be shown when a user tries to add blocks to the section. This helps prevent users breaking template layout by adding blocks that are too wide.