Hallo gregl
Für die Beschreibung musst du nur den Teil 'caption' vor das Bild kopieren und speichern:
PHP-Code:
<?php $this->extend('block_searchable'); ?>
<?php $this->block('content'); ?>
<figure class="image_container"<?php if ($this->margin): ?> style="<?php echo $this->margin; ?>"<?php endif; ?>>
<!-- Beschreibung -->
<?php if ($this->caption): ?>
<figcaption class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></figcaption>
<?php endif; ?>
<!-- Link / Bild -->
<?php if ($this->href): ?>
<a href="<?php echo $this->href; ?>"<?php if ($this->linkTitle): ?> title="<?php echo $this->linkTitle; ?>"<?php endif; ?><?php echo $this->attributes; ?>>
<?php endif; ?>
<?php $this->insert('picture_default', $this->picture); ?>
<?php if ($this->href): ?>
</a>
<?php endif; ?>
</figure>
<?php $this->endblock(); ?>
Bzgl. sliden der Bilder ist mir soeben noch eine Idee gekommen. Du könntest das via Inhaltselemente lösen.
Code:
Content-Slider Anfang
HTML mit <div class="content_wrapper">
Bild 1
Bild 2
HTML mit </div>
HTML mit <div class="content_wrapper">
Bild 3
Bild 4
HTML mit </div>
Content-Slider Ende
Damit sollte eigentlich immer das DIV "content_wrapper" mit den beiden Bildern drin geslidet werden.
Gruss
Marco
Lesezeichen