ich habe mal bei Events das Template dahingehend angepasst, dass die "Eventlist" (Modul alle Veranstaltungen mit Modutyp Eventlist) mir TAG, DATUM und UHRZEIT anzeigt.
Die Darstellung sieht jetzt so aus:
Samstag, 22.01.2011; 18:00 Uhr
TEMPLATE:
PHP-Code:
<div class="event block<?php echo $this->class; ?>">
<div class="ce_text">
<?php if ($this->addImage): ?>
<div class="image_container"<?php if ($this->margin || $this->float): ?> style="<?php echo $this->margin . $this->float; ?>"<?php endif; ?>>
<?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; ?>
</div>
<?php endif; ?>
</div>
<h3><?php echo $this->title; ?></h3>
<span class="day"><?php echo $this->firstDay; ?>, </span><span class="info"><?php echo $this->date; ?></span>; <span class="time"><?php echo $this->time; ?> Uhr</span>
<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>
Nun möchte ich gerne, dass man bei "weiterlesen" eigentlich fast dieselbe Darstellung hat, zumindest was das Datum angeht. Den Teaser würde ich ausblenden und dafür die Detailinfo anzeigen lassen.
Allerdings zeigt er mir das Datum nicht richtig an, sondern nur noch so etwas:
, 22.01.2011 (18:00); Uhr
Folgende Zeile hatte ich bei beiden eingebunden:
<span class="day"><?php echo $this->firstDay; ?>, </span><span class="info"><?php echo $this->date; ?></span>; <span class="time"><?php echo $this->time; ?> Uhr</span>
Kannst mir jemand auf die Sprünge helfen?
Das wäre übrigens die Seite:
http://lungaukultur.at/de/programm.html
Lesezeichen