{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}
{/if} {if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if}

{foreach from=$entries item=entry key=key} {assign var=entryTitle value=''} {if isset($entry['title']) && $entry['title']} {assign var=entryTitle value=$entry['title']} {elseif isset($entry['entryTitle']) && $entry['entryTitle']} {assign var=entryTitle value=$entry['entryTitle']} {/if} {assign var=entryContent value=''} {if isset($entry['content']) && $entry['content']} {assign var=entryContent value=$entry['content']} {elseif isset($entry['entryContent']) && $entry['entryContent']} {assign var=entryContent value=$entry['entryContent']} {/if} {assign var=entryImage value=''} {if isset($entry['image']) && $entry['image']} {assign var=entryImage value=$entry['image']} {elseif isset($entry['entryImage']) && $entry['entryImage']} {assign var=entryImage value=$entry['entryImage']} {/if}
- {if $entryImage && $imagePos == 'top'}
  {image src=$entryImage width="600" height="600"}
  {/if} {if $entryContent}
  {$entryContent}
  {/if} {if $entryImage && $imagePos == 'bottom'}
  {image src=$entryImage width="600" height="600"}
  {/if}
{assign var=modKey value=$key+1} {/foreach}