I’m having problem with pagination. On the main page, the numbering has reached 21 and from 1 to 21 there are all numbers between. The word “back†now has slipped into the second row, because the first line is so: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Can somebody help to stop “marching of numbers�
I see the problem. The WEB page swallowed some slashes. Everywhere it says echo "n it should be echo "\n
Here is the complete function:
`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=($j=max(1, $current-2)); $i
It still disappears.
The original code I have there is:
`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
Probably still a transcription error. You can download effervescence_simpleviewer from the WIKI themes page http://www.zenphoto.org/trac/wiki/ZenphotoThemes and copy the code from the included file in version 2.1 of the theme.