Hallo,
in 4.9 ist im Template news_latest ja jetzt das Bild auch zum Leser verlinkt.
Ich habe einige kurze Nachrichten ohne Text auf der Leser-Seite, nutze also nur den Teaser. Trotzdem wird das Bild verlinkt.
Wie kann ich diese Verlinkung entfernen?
Mein news_latest-Template:
Code:
<div class="layout_latest img-responsive arc_<?= $this->archive->id ?> block<?= $this->class ?>" itemscope itemtype="http://schema.org/Article">
<?php if ($this->hasMetaFields): ?>
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->parseDate("d. F Y", $this->timestamp); ?></time><?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<h2 itemprop="name"><?= $this->newsHeadline ?></h2>
<?php if ($this->addImage): ?>
<?php $this->insert('image', $this->arrData); ?>
<?php endif; ?>
<div class="ce_text block" itemprop="description">
<?= $this->teaser ?>
</div>
<?php if ($this->hasText): ?>
<p class="more"><?= $this->more ?></p>
<?php endif; ?>
</div>
Keine Ahnung was ich bei <?php $this->insert('image', $this->arrData); ?> ändern müsste...
Gruß Michael
Lesezeichen