The simpler media website CMS
Forum search only. You might also want to search on the main site's user guide.
Forum RSS
Visit the troubleshooting guide.
Visit the paid support page.
Your support helps pay for this server, and helps development of zenphoto. Thank you!
Visit the donations page
$total = getTotalPages(); $current = getCurrentPage();
echo "n
Comments
`function printPageListWithNav($prevtext, $nexttext, $nextprev=true, $class="pagelist", $id=NULL) {
echo "
$total = getTotalPages();
$current = getCurrentPage();
echo "n
";- ";
";- ";
";- ";
";
";if ($nextprev) {
echo "n
printPrevPageLink($prevtext, "Previous Page");
echo "
}
for ($i=1; $i <= $total; $i++) {<br />
echo "n
printLink(getPageURL($i), $i, "Page $i" . (($i == $current) ? " (Current Page)" : ""));
echo "
}
if ($nextprev) {
echo "n
printNextPageLink($nexttext, "Next Page");
echo "
}
echo "n
echo "n
}`
Where do I have to insert it?
Is it possible to do this in the index.php or album.php of a theme?
Or can I create that menu by myself ?
There is no other way to do this in the index.php or album.php that I know of.
getNextPageURL()
getPrevPageURL()
sry dude
`
">previous
`