Auf der Seite http://www.guggi-haexe.ch unter "Hexealbum" habe ich die verschiedenen Gallerien. Diese sind mit Lightbox erstellt und in mehrere Seiten aufgeteilt.
Nun ist meine Frage, ob ich neben dem Pfeil, mit dem man die Seiten wechseln kann, zusätzlich noch die Seitenzahl ausgeben kann?
Modul Lightbox (Ausschnitt Navigation)
und Modul-Templates$aLinks = array();
if ($iCurrentPage > 1) {
$oPreviousTpl = new Template;
$oPreviousTpl->set("s", "LINK", $cfgClient[$client]["path"]["htmlpath"] . sprintf("front_content.php?idcatart=%s&start=%s", $idcatart, $iCurrentPage - 1));
$oPreviousTpl->set("s", "TITLE", "<img src=\"images/zurueck.png\" border=\"0\" alt=\"<<\" /> ");
$aLinks[] = $oPreviousTpl->generate($cfgClient[$client]["path"]["frontend"] . "templates/lightbox-gallery_link.html", true, false);
}
if (($iCurrentPage < $iPages) && $iCurrentPage) {
$oNextTpl = new Template;
$oNextTpl->set("s", "LINK", $cfgClient[$client]["path"]["htmlpath"] . sprintf("front_content.php?idcatart=%s&start=%s", $idcatart, $iCurrentPage + 1));
$oNextTpl->set("s", "TITLE", "<img src=\"images/weiter.png\" border=\"0\" alt=\">>\" />");
$aLinks[] = $oNextTpl->generate($cfgClient[$client]["path"]["frontend"] . "templates/lightbox-gallery_link.html", true, false);
}
$oGalleryTpl->set("s", "NAVIGATION", implode("", $aLinks));
$oGalleryTpl->generate($cfgClient[$client]["path"]["frontend"] . "templates/lightbox-gallery.html", false, false);
}
<a href="{LINK}">{TITLE}</a>
Vielen Dank für eure Hilfe!<div class="ligallery"><div class="gallery"><div class="cont">
<!-- <div class="galleryNav"><div class="gTop">{NAVIGATION}</div></div><br />-->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="table-layout:fixed" class="gTable">
<!-- BEGIN:BLOCK -->
<tr>{COLUMNS}</tr>
<!-- END:BLOCK -->
</table>
<div class="galleryNav"><div class="gBottom">{NAVIGATION}</div></div>
<div id="trailimageid"></div>
</div></div></div><br />
kleeblatt