Hallo MacKP,
ich bekomme bei mehrtätigen Events 2-Mal das Datum angezeigt, so wie am Anfang dieses Themas beschrieben:
24.04.2010 (Samstag)
Überschrift = Seminarname
24.04.2010 - 25.04.2010
Teasertext
Es ist unnötig das Datum zweimal anzuzeigen, ich habe aber keine Ahnung wie ich dies ändern kann.
Das Template ist das Standard-Template von Version 2.8.1.
Code:
<?php if ($this->header): ?>
<div class="header<?php echo $this->classHeader; ?>">
<span class="date"><?php echo $this->firstDate; ?></span><?php if ($this->firstDay): ?> <span class="day">(<?php echo $this->firstDay; ?>)</span><?php endif; ?>
</div>
<?php endif; ?>
<div class="event<?php echo $this->classList; ?>">
<?php if ($this->details): ?>
<h2><a href="<?php echo $this->link; ?>" title="<?php echo $this->title; ?> (<?php if ($this->day): echo $this->day; ?>, <?php endif; echo $this->date; if ($this->time): ?>, <?php echo $this->time; endif; ?>)"<?php echo $this->target; ?>><?php echo $this->title; ?></a></h2>
<?php else: ?>
<h2><?php echo $this->title; ?></h2>
<?php endif; ?>
<?php if ($this->time || $this->span): ?>
<p class="time"><?php echo $this->time . $this->span; ?></p>
<?php endif; ?>
<p class="teaser"><?php echo $this->teaser; ?></p>
<?php if ($this->details): ?>
<p class="more"><a href="<?php echo $this->link; ?>" title="<?php echo $this->readMore; ?>"<?php echo $this->target; ?>><?php echo $this->more; ?> <span class="invisible"><?php echo $this->title; ?></span></a></p>
<?php endif; ?>
</div>
Danke für Eure unermüdliche Hilfe.
Lesezeichen