Hallo,
ich habe mir ein Template für eine tabellarische Übersicht der Events erstellt. Das Problem dabei ist, dass ein Event außerhalb der Tabelle dargestellt wird und ich weiß nicht woran das liegt.
Dieses Event hat komischerweise keinen classHeader mit "Last" oder "First", somit wird die Tabelle schon beim vorherigen Event geschlossen.
PHP-Code:
<?php if ($this->header): ?>
<?php endif; ?>
<?php if(strpos($this->classHeader,"first")!==false): ?>
<table id="table_termine">
<thead>
<tr>
<th width="25%" class="head0 col_first header">Titel</th>
<th width="15%" class="head1 header">Datum</td>
<th width="60%" class="head2 col_last header">Beschreibung</th>
<tr>
</thead>
<?php endif; ?>
<tbody>
<tr valign="top">
<td><b><?php echo $this->link; ?></b></td>
<td><?php echo $this->date; ?><?php if($this->time): ?><br><?php echo $this->time; ?><?php endif; ?></td>
<td><?php echo str_replace(array('<p>', '</p>'), array('<span>', '</span>'), $this->teaser); ?>
<div class="button-box ce_rsce_oneo_button -small -right">
<a class="button ce_rsce_oneo_button -small -right" data-icon="" href="<?php echo $this->href; ?>" <?php echo $this->target; ?>>
Mehr erfahren</a>
</div>
</td>
</tr>
<tbody>
<?php if(strpos($this->classHeader,"last")!==false): ?>
</table>
<?php endif; ?>
Hat jemand eine Idee, woran das liegen könnte?
Viele Grüße
Christoph
Lesezeichen