Da du die Überschrift wohl in einem div gemeinsam mit dem Text haben willst, darfst du eben nicht das block_searchable erweitern, sondern musst alles ins ce_text Template integrieren. Bin da jetzt zwar auch nicht so der Experte, denke aber, das ce_text.html5 könnte z.B. so aussehen... (angesichts der Uhrzeit völlig ungetestet)
PHP-Code:
<div class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<div>
<?php if ($this->headline): ?>
<<?= $this->hl ?>><?= $this->headline ?></<?= $this->hl ?>>
<?php endif; ?>
<?= $this->text ?>
</div>
<?php if ($this->addImage): ?>
<figure class="image_container<?= $this->floatClass ?>"<?php if ($this->margin): ?> style="<?= $this->margin ?>"<?php endif; ?>>
<?php if ($this->href): ?>
<a href="<?= $this->href ?>"<?php if ($this->linkTitle): ?> title="<?= $this->linkTitle ?>"<?php endif; ?><?= $this->attributes ?>>
<?php endif; ?>
<?php $this->insert('picture_default', $this->picture); ?>
<?php if ($this->href): ?>
</a>
<?php endif; ?>
<?php if ($this->caption): ?>
<figcaption class="caption"><?= $this->caption ?></figcaption>
<?php endif; ?>
</figure>
<?php endif; ?>
</div>
Mit den Klassen und dem Bild habe ich da jetzt noch nichts gemacht, nur das block_searchable integriert, die Reihenfolge von Text und Bild festgelegt und um die Überschrift und den Text dann ein div drumherum. Als Ausgangspunkt für deine weiteren Änderungen sollte es funktionieren, den Rest wirst du dann schon hinbekommen.
Lesezeichen