Hallo kmielke,
vielen Dank für Deine Antwort. Geschmeidig: was ich so bisher gelesen habe
Ich nutze Contao 4.5.10, calendar_extended 3.7.18 im Template events_full. contao_leads und notification_center sind ebenfalls aktiviert. Alles über den ContaoManager installiert.
Ich bin wie im Wiki vorgegangen. Also Formular mit den versteckten Feldern erstellt, das Template sieht jetzt wie folgt aus:
Code:
<div class="event layout_full block<?= $this->class ?>" itemscope itemtype="http://schema.org/Event">
<h1 itemprop="name"><?= $this->title ?></h1>
<p class="info"><time datetime="<?= $this->datetime ?>" itemprop="startDate"><?= $this->date ?><?php if ($this->time): ?>, <?= $this->time ?><?php endif; ?></time></p>
<?php if ($this->recurring): ?>
<p class="recurring"><?= $this->recurring ?><?php if ($this->until) echo ' ' . $this->until; ?>.</p>
<?php endif; ?>
<?php if ($this->location): ?>
<p class="location" itemprop="location" itemscope itemtype="http://schema.org/Place">
<span itemprop="name"><?= $this->location ?></span>
<?php if ($this->address): ?>
(<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><?= $this->address ?></span>)
<?php endif; ?>
</p>
<?php endif; ?>
<?php if ($this->hasDetails): ?>
<?= $this->details ?>
<?php else: ?>
<div class="ce_text block">
<?php if (!$this->addBefore): ?>
<?= $this->teaser ?>
<?php endif; ?>
<?php if ($this->addImage): ?>
<?php $this->insert('image', $this->arrData); ?>
<?php endif; ?>
<?php if ($this->addBefore): ?>
<?= $this->teaser ?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($this->enclosure): ?>
<ul class="enclosure">
<?php foreach ($this->enclosure as $enclosure): ?>
<li class="download-element ext-<?= $enclosure['extension'] ?>">
<a href="<?= $enclosure['href'] ?>" title="<?= $enclosure['title'] ?>"><?= $enclosure['link'] ?> <span class="size">(<?= $enclosure['filesize'] ?>)</span></a>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php if ($this->reginfo): ?>
<div class="eventmembers">
Teilnehmer min./max.: <?= $this->reginfo['mini'] ?>/<?= $this->reginfo['maxi'] ?>, angemeldet: <?= $this->reginfo['curr'] ?>, frei: <?= $this->reginfo['free'] ?>
</div>
<div class="enventforminfo">
<p><?= $this->reginfo['info'] ?></p>
</div>
<?php endif; ?>
<?php if ($this->regform): ?>
<hr>
<div class="eventregisterform">
<?= $this->regform ?>
</div>
<hr>
<?php endif; ?>
</div>
Lesezeichen