{assign var=rightSideBar value=$BricksManager->getBricksByArea('rightSidebar', $Site)} {assign var=prefixContentBricks value=$BricksManager->getBricksByArea('prefixContentBricks', $Site)} {assign var=suffixContentBricks value=$BricksManager->getBricksByArea('suffixContentBricks', $Site)} {if $showPageHeader}
{/if}
{if !empty($rightSideBar)} {foreach from=$rightSideBar item=Brick}
{if $Brick->getAttribute('frontendTitle')}

## {$Brick->getAttribute('frontendTitle')}

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {/if}
{if !empty($prefixContentBricks)} {foreach from=$prefixContentBricks item=Brick}
{if $Brick->getAttribute('frontendTitle')}

## {$Brick->getAttribute('frontendTitle')}

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {/if}
{$Template->getBody()}
{if !empty($suffixContentBricks)} {foreach from=$suffixContentBricks item=Brick}
{if $Brick->getAttribute('frontendTitle')}

## {$Brick->getAttribute('frontendTitle')}

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {/if}