Hallo zusammen,
ich verwende hier ein Inhaltselement "Bootstrap-Galerie" (ohne individuelles Template) mit den Einstellungen 10 Bilder pro Seite und unendliche viele anzeigen. Es wird keine Paginierung erzeugt. Bei einer normalen Galerie wird eine Paginierung ausgegeben.
Auch im Basistemplate bs_gallery_default.html5 gibt es keinen Bereich dafür
Code:
<div class="<?= $this->grid ? $this->grid->row() : 'row' ?>" itemscope itemtype="http://schema.org/ImageGallery">
<?php foreach ($this->body as $col): ?>
<?php if ($this->grid): ?>
<?php foreach ($this->grid->resets() as $reset): ?>
<div class="clearfix w-100 <?= $reset ?>"></div>
<?php endforeach ?>
<?php endif ?>
<div class="<?= $this->grid ? $this->grid->current() : 'col' ?> <?= $col->class ?>">
<figure class="image_container"<?php if ($col->margin): ?> style="<?= $col->margin ?>"<?php endif; ?> itemscope itemtype="http://schema.org/ImageObject">
<?php if ($col->href): ?>
<a href="<?= $col->href ?>"<?= $col->attributes ?><?php if ($col->linkTitle) echo ' title="' . $col->linkTitle . '"'; ?> itemprop="contentUrl"><?php $this->insert('picture_default', $col->picture); ?></a>
<?php else: ?>
<?php $this->insert('picture_default', $col->picture); ?>
<?php endif; ?>
<?php if ($col->caption): ?>
<figcaption class="figure-caption" itemprop="caption"><?= $col->caption ?></figcaption>
<?php endif; ?>
</figure>
</div>
<?php $this->grid && $this->grid->next() ?>
<?php endforeach; ?>
</div>
Außerdem stoppt die Ausgabe nicht nach den eingestellten 10 Bildern sondern gibt immer alle aus.
Contao 4.9.2
Bootstrap für Contao Core 2.0.3
Ich vermute das sollte so nicht sein?
VG
Lesezeichen