Hallo,
da ich nichts über google gefunden habe.
Eventuell braucht das jemand mal.
FAQ Modul als Akkordeon.
mod_faqlist.html5
PHP-Code:
<!-- indexer::stop -->
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<?php foreach($this->faq as $category): ?>
<h2><?php echo $category['headline']; ?></h2>
<div class="<?php echo $category['class']; ?>">
<?php foreach ($category['items'] as $faq): ?>
<section class="ce_accordion block">
<div class="toggler">
<?php echo $faq['question']; ?>
</div>
<div class="accordion">
<?php echo $faq['answer']; ?>
</div>
</section>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
<!-- indexer::continue -->
Über Seitenlayouts - moo_accordion aktivieren.
lg Matthias
Lesezeichen