Hallo Leute!
Ich habe das das news_short Template verändert, weil mir die Bilderanzeige gefehlt hat. Ich habe das Ganze nun in eine Tabelle gepackt und möchte von euch eure Meinung dazu wissen, was fehlt, was man anders machen könnte usw..
Hier das Template:
PHP-Code:
<table cellspacing="0" cellpadding="0" class="layout_short block<?php echo $this->class; ?>" summary="Layout Short">
<thead>
<tr>
<th class="head linkHeadline">
<?php if ($this->hasMetaFields): ?>
<?php echo $this->linkHeadline; ?>
</th>
<th class="head info">
<?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?>
<?php endif; ?>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="image">
<?php if ($this->addImage): ?>
<?php if ($this->fullsize): ?><a href="<?php echo $this->href; ?>" title="<?php echo $this->alt; ?>" rel="lightbox"><?php endif; ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" /><?php if ($this->fullsize): ?></a><?php endif; ?>
<?php if ($this->caption): ?>
<div class="caption"><?php echo $this->caption; ?></div>
<?php endif; ?>
<?php endif; ?>
</td>
<td class="teaser">
<?php echo $this->teaser; ?>
<?php if ($this->text): ?>
<p class="more"><?php echo $this->more; ?></p>
<?php endif; ?>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
Und so sieht das mit CSS fertig formatiert aus:
Lesezeichen