I'm a new user to the zenphoto platform and by extension to the use of the zpGallerific theme. Currently just building the site and moving stuff over from a previous gallery site.
In the theme options, I have set Albums per page to 6, and Thumbnails per page to 20. For the most part, this works well, but I have noticed that these settings do not apply to sub-albums. I have an album with 61 sub-albums, and when I go into the album, all 61 sub-albums' thumbnails load up. I wish to avoid this as my main reason for moving platforms was to reduce memory use and load on the server.
Am I overlooking some setting somewhere, or is there a code in a theme page I could change to get pagination working with sub-albums? I do not have a good grasp of PHP, but I do know how to slowly work out what code does what and of course copy-paste code snippets into the proper places.
If you wish to see the example I am currently working with, it's here:
http://www.pireze.org/pixelalpha/Cosplay/
Comments
However, as I am not a coder by any means, and of course you have a more holistic view of how things work overall. So I would like to outline my method here, and if you could alert me to any potential issues/breakage which would occur due to this, that would be really useful.
In album.php,
I set the line
<?php $x=1; while (next_album(true)): $lastcol="";
to
<?php $x=1; while (next_album(false)): $lastcol="";
and this resulted in the set limit of subalbums showing up on the page.
I then copied and pasted the "pagination" div from gallery.php to the line immediately after the close of "album-wrap".
This caused the page navigation to show up, allowing access to other pages of subalbums.