Hi,
ja da sind noch die original templates eingebunden, mit kleinen Ergänzungen.
Ich habe beide templates im Ordner /templates/tpl/ liegen der dem Theme zugeortet ist.
ce_metamodel_list_karriere.html5
PHP-Code:
<?php $this->extend($this->searchable ? 'block_searchable' : 'block_unsearchable'); ?>
<?php $this->block('content'); ?>
<div class="pagecount col text-center">
<hr class="transparent small">
<?= $this->pagination ?>
<hr class="transparent small">
</div>
<?= $this->items ?>
<div class="pagecount col text-center">
<hr class="transparent">
<?= $this->pagination ?>
</div>
<?php $this->endblock(); ?>
jedoch wird die pagination.html5 nicht geladen:
PHP-Code:
<!-- indexer::stop -->
<div class="row">
<div class="col col-12 text-center">
<ul class="pagination">
<?php if ($this->hasFirst): ?>
<li class="first"><a href="<?= $this->first['href'] ?>" class="first" title="<?= $this->first['title'] ?>"><?= $this->first['link'] ?></a></li>
<?php endif; ?>
<?php if ($this->hasPrevious): ?>
<li class="previous"><a href="<?= $this->previous['href'] ?>" class="previous" title="<?= $this->previous['title'] ?>"><?= $this->previous['link'] ?></a></li>
<?php endif; ?>
<?php foreach ($this->pages as $page): ?>
<?php if ($page['href'] === null): ?>
<li><span class="active"><?= $page['page'] ?></span></li>
<?php else: ?>
<li><a href="<?= $page['href'] ?>" class="link" title="<?= $page['title'] ?>"><?= $page['page'] ?></a></li>
<?php endif; ?>
<?php endforeach; ?>
<?php if ($this->hasNext): ?>
<li class="next"><a href="<?= $this->next['href'] ?>" class="next" title="<?= $this->next['title'] ?>"><?= $this->next['link'] ?></a></li>
<?php endif; ?>
<?php if ($this->hasLast): ?>
<li class="last"><a href="<?= $this->last['href'] ?>" class="last" title="<?= $this->last['title'] ?>"><?= $this->last['link'] ?></a></li>
<?php endif; ?>
</ul>
</div>
<div class="col col-12 text-center">
<p class="small"><?= $this->total ?></p>
</div>
</div>
<!-- indexer::continue -->
Lesezeichen