Tag zusammen
Das news_full.html5 sieht wie folgt aus:
Code:
<div class="layout_full block<?php echo $this->class; ?>">
<h1><?php echo $this->newsHeadline; ?></h1>
<?php if ($this->hasMetaFields): ?>
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<?php if ($this->hasSubHeadline): ?>
<h2><?php echo $this->subHeadline; ?></h2>
<?php endif; ?>
<?php if ($this->text): ?>
<?php echo $this->text; ?>
<?php else: ?>
<div class="ce_text block">
<?php echo $this->teaser; ?>
</div>
<?php endif; ?>
<?php if ($this->enclosure): ?>
<div class="enclosure">
<?php foreach ($this->enclosure as $enclosure): ?>
<p><img src="<?php echo $enclosure['icon']; ?>" width="18" height="18" alt="<?php echo $enclosure['mime']; ?>" class="mime_icon"> <a href="<?php echo $enclosure['href']; ?>" title="<?php echo $enclosure['title']; ?>"><?php echo $enclosure['link']; ?> <span class="size">(<?php echo $enclosure['filesize']; ?>)</span></a></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
Das Element...
Code:
<?php echo $this->text; ?>
gibt ja nun alle Inhaltselemente dieser Nachricht der Reihe nach aus. Ich habe dort nun ein Inhaltselement "Galerie". Diese Galerie möchte ich nun ganz oben oberhalb...
Code:
<h1><?php echo $this->newsHeadline; ?></h1>
ausgeben. Die restlichen Inhaltselemente dieser Nachricht sollen am normalen Standort ausgegeben werden. Kann mir jemand sagen, wie man das hinkriegt?
Danke
Lesezeichen