Hallo Gemeinschaft.
Ich habe mit dem Template event_teaser ein ziemliches Problem. Manche Termine sind bei mir in der gewünschten Form, andere wiederum nicht. Außerdem ist es auch so, wenn zwei Termine an einem Tag stattfinden, so wird dieser ebenfalls nicht in der Umrandung angezeigt. Ich habe euch einmal den Fall bebildert.
Template "event_teaser.html5
HTML-Code:
<?php if ($this->header): ?>
<div class="events">
<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> <span class="time"><?php echo $this->time . $this->span; ?></span><?php endif; ?>
</div>
<?php endif; ?>
<div class="events titelzeile layout_teaser<?php echo $this->classList; ?>">
<?php if ($this->details): ?>
<h2><a href="<?php echo $this->href; ?>" 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->link; ?></a></h2>
<?php else: ?>
<h2><?php echo $this->title; ?></h2>
<?php endif; ?>
<div class="teaser events">
<?php if ($this->addImage): ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>">
<?php endif; ?>
<?php echo $this->teaser; ?>
<?php if ($this->details): ?>
<?php endif; ?>
</div>
</div>
</div>
Irgendwie sehe ich den Fehler nicht.
Lesezeichen