Hallo,
derzeit vermisse ich die Pagination Links für eine Eventliste. Hier werden Events der vorrausliegenden 6 Monate eingeblendet. Zeitweise sah ich die Links. Nach einigen Änderungen später, waren sie aber leider verschwunden.
event_full.tpl:
PHP-Code:
<div class="event block<?php echo $this->class; ?>">
<p class="info"><strong><?php echo $this->title; ?></strong><br />Am <?php echo /*$this->parseDate("d. F Y", $this->timestamp)*/
$this->parseDate("d. F Y", strtotime($this->date)); ?></p>
<?php /*if ($this->recurring): ?>
<p class="recurring"><?php echo $this->recurring; if ($this->until): ?> <?php echo $this->until; endif; ?>.</p>
<?php endif;*/ ?>
<div class="ce_text">
<?php if (!$this->addBefore): ?>
<?php echo $this->details; ?>
<?php endif; ?>
<?php if ($this->addImage): ?>
<div class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>>
<?php if ($this->href): ?>
<a href="<?php echo $this->href; ?>"<?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>">
<?php endif; ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" />
<?php if ($this->href): ?>
</a>
<?php endif; ?>
<?php if ($this->caption): ?>
<div class="caption"><?php echo $this->caption; ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($this->addBefore): ?>
<?php echo $this->details; ?>
<?php endif; ?>
</div>
<?php if ($this->enclosure): ?>
<div class="enclosure">
<?php foreach ($this->enclosure as $enclosure): ?>
<p><img src="<?php echo $enclosure['icon']; ?>" width="18" height="18" alt="<?php echo $enclosure['title']; ?>" class="mime_icon" /> <a href="<?php echo $enclosure['href']; ?>" title="<?php echo $enclosure['title']; ?>"><?php echo $enclosure['link']; ?> <span class="size">(<?php echo $enclosure['filesize']; ?>)</span></a></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
<?php echo $this->pagination; ?>
15.04.2011 14:18 Uhr aktualisert
Ehemals modifizierte pagination.tpl:
PHP-Code:
<!-- indexer::stop -->
<div class="pagination block">
<p>
<?php echo $this->total; ?>
</p>
<ul>
<?php /* if ($this->hasFirst): */ ?>
<li class="first">
<a href="<?php echo $this->first['href']; ?>" class="first" title="
<?php echo $this->first['title']; ?>">
<?php echo $this->first['link']; ?></a>
</li>
<?php /* endif; */ ?>
<?php /* if ($this->hasPrevious): */ ?>
<li class="previous">
<a href="<?php echo $this->previous['href']; ?>" class="previous" title="
<?php echo $this->previous['title']; ?>">
<?php echo $this->previous['link']; ?></a>
</li>
<?php /* endif; */ ?>
<?php echo $this->items; ?>
<?php /* if ($this->hasNext): */ ?>
<li class="next">
<a href="<?php echo $this->next['href']; ?>" class="next" title="
<?php echo $this->next['title']; ?>">
<?php echo $this->next['link']; ?></a>
</li>
<?php /* endif; */ ?>
<?php /* if ($this->hasLast): */ ?>
<li class="last">
<a href="<?php echo $this->last['href']; ?>" class="last" title="
<?php echo $this->last['title']; ?>">
<?php echo $this->last['link']; ?></a>
</li>
<?php /* endif; */ ?>
</ul>
</div>
<!-- indexer::continue -->
Würde mich für einen Tipp über eine Problemlösung sehr freuen
Lesezeichen