Kleines Helferlein für template event_list.html5 auf contao 3.4.
Wir benötigten eine Wochenübersicht mit heutigem Tag als Beginn, leider konnten wir die einzelnen Tage nicht im CSS ansprechen.
Bei der Einstellung +1Woche im Modul Eventliste hat mir dann folgende Lösung ganz gut geholfen:
PHP-Code:
<?php if ($this->header): ?>
<div class="neues_div">
  <div class="header<?php echo $this->classHeader?>">
    <time datetime="<?php echo $this->datetime?>" class="date"><?php echo $this->firstDate?></time><?php if ($this->firstDay): ?> <span class="day">(<?php echo $this->firstDay?>)</span><?php endif; ?>
  </div>
<?php endif; ?>

<div class="event layout_list<?php echo $this->classList?>">

  <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 if ($this->time || $this->span): ?>
    <p class="time"><?php echo $this->time $this->span?></p>
  <?php endif; ?>

  <div class="ce_text block">
    <?php echo $this->details?>
  </div>

</div>
<?php if(strpos($this->classList,"last")!==false) echo "</div>";?>