Es handelt sich um diese Seite: https://webseite.protexon.ch/referenzen.html
Es ist ein Newsmodul, welches korrekterweise den Titel der Nachricht übernimmt. Den untenstehenden PHP-Code habe ich aus aus dem Template kopiert und weiter unten im Template wieder eingesetzt. Nun soll der zweite Link aber nicht mehr "Berufsfachschule Winterthur" heissen, sondern "Zum Projekt".
Anbei noch der komplette PHP Code.
PHP-Code:
<div class="newslist-v2 autogrid_wrapper block <?php echo $this->class; ?>" itemscope itemtype="http://schema.org/Article">
<div class="autogrid one_third block news-image-v2">
<div class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>>
<?php if ($this->hasText): ?><a href="<?php echo $this->link; ?>" <?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>" <?php if($this->target): ?>target="_blank"<?php endif; ?>><?php endif; ?>
<?php if ($this->picture): ?><?php $this->insert('picture_default', $this->picture); ?><?php endif; ?>
<?php if ($this->hasText): ?></a><?php endif; ?>
</div>
</div>
<div class="news-content-v2 autogrid two_third block">
<?php if ($this->commentCount): ?>
<div class="comments-v2"><?php echo $this->numberOfComments; ?></div>
<?php endif; ?>
<?php if ($this->hasSubHeadline): ?>
<div class="subheadline-v2"><?php echo $this->subHeadline; ?></div>
<?php endif; ?>
<h4><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h4>
<div class="info">
<?php if ($this->date): ?>
<span class="news-date-v2" itemprop="datePublished"><?php echo $this->parseDate("d", $this->timestamp);?>. <?php echo $this->parseDate("M", $this->timestamp);?> <?php echo $this->parseDate("Y", $this->timestamp);?> /</span>
<?php endif; ?>
<?php if ($this->author): ?>
<span class="author-v2"><?php echo $this->author; ?></span>
<?php endif; ?>
</div>
<div class="teaser-v2" itemprop="description"><?php echo $this->teaser; ?></div>
<br>
<p><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></p>
</div>
</div>
Try and error habe ich schon versucht und bin nicht weitergekommen. Vielen Dank für die Hilfe.
Lesezeichen