Member
Member
ayad   29-07-2012, 12:05
#1

Hallo
I use Zenphoto version 1.4.3.
album.php desplays 1 even when the whole album just one page.
If you also see it shouldn't, here how I fix it in template-functions.php [line 826]:
if(count($nav) == 1){ } else{ if($current == 1) { echo '1'; } else { printLink($nav[1], 1, gettext("Page 1")); } }
I use theme garland and in zen.css
[line 233] ul.pagelist li.current a {
but li.current is not a link

I hope this could be somehow useful.

Administrator
Administrator
acrylian   29-07-2012, 12:31
#2

You never should hack core files, especially if you can solve this on the theme using hasNextPage() and hasPrevPage().

[i]but li.current is not a link[/i]
No because it does not makes sense to link from a page to the page itself.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.