{assign var=prefixContentBricks value=$BricksManager->getBricksByArea('contentPrefix', $Site)} {assign var=suffixContentBricks value=$BricksManager->getBricksByArea('contentSuffix', $Site)} {assign var=pageTitle value=$Template->getAttribute('pageTitle')} {assign var=pageShort value=$Template->getAttribute('settings.pageShortDesc')}
{if !empty( $prefixContentBricks )} {foreach from=$prefixContentBricks item=Brick} {assign var=classes value=\QUI\TemplateCologne\Utils::convertBrickCSSClass($Brick->getAttribute('classes'))}
{if $Brick->getAttribute('frontendTitle')}

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

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {/if} {* $productPage manages header, page title and desc by itself *} {* $productPage means "quiqqer/products:types/category" or "quiqqer/productsearch:types/search" *} {* Template Cologne overrides this 2 site types *} {if !$productPage && ($header == 'beforeContent' || $header == 'hide')} {if $Site->getAttribute('image_emotion') && $header == 'beforeContent' }
{if $pageTitle == 'header' || $pageTitle == 'both'}

{$Site->getAttribute('title')|nl2br}

{/if} {if $pageShort}
{$Site->getAttribute('short')|nl2br}
{/if}
{elseif ($pageTitle == 'header' || $pageTitle == 'both') || $pageShort}
{if $pageTitle == 'header' || $pageTitle == 'both'}

{$Site->getAttribute('title')|nl2br}

{/if} {if $pageShort}
{$Site->getAttribute('short')|nl2br}
{/if}
{/if} {/if} {$Template->getBody()} {if !empty( $suffixContentBricks )} {foreach from=$suffixContentBricks item=Brick} {assign var=classes value=\QUI\TemplateCologne\Utils::convertBrickCSSClass($Brick->getAttribute('classes'))}
{if $Brick->getAttribute('frontendTitle')}

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

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