![]() |
|
Private sub-album thumb location on pages - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Private sub-album thumb location on pages (/thread-5565.html) |
Private sub-album thumb location on pages - marcov - 2009-07-29 I have an album with images in several pages and one private sub-album. The sub-album always shows up in the album as the first thumb, labeled as expected, private. For aesthetics and other reasons, I would like the (private) sub-album thumb to show up as the last photo on the last page, instead of the first thumb on the first page. Is there a way to do this? Private sub-album thumb location on pages - acrylian - 2009-07-29 You will have to change your album.php theme page. It always lists sub albums first if available and then images. Just reverse the order of the Private sub-album thumb location on pages - marcov - 2009-07-29 Oh, that was the first thing I tried. It did change the location of the sub-album thumb from the first thumb on page one, to the last thumb but still on page one, not on the last page. Here's the code I have:
Private sub-album thumb location on pages - acrylian - 2009-07-29 Sorry, I don't know any way to tell the album on which page it should appear. You can try to remove the Private sub-album thumb location on pages - sbillard - 2009-07-29 You will have to remove the album loop and manually insert the thumb wherever you wish it to appear. Private sub-album thumb location on pages - marcov - 2009-07-29 I already tried removing the normalizeColum() function - it did not fix the problem. It seems though that the sub-album feature still causes some problems or unexpected behavior. One was fixed in a recent release (the password problem). Other problems, like the incorrect number if thumbs on the first album page, or the famous "transition" page that has both album ad image thumbs, are still there. For me this means ignoring the sub-album feature, as pages with incomplete number of thumbs on them (except maybe the last one) is not very pleasing for the visitors. Anyway, thanks for the feedback, I'll keep trying to find a solution, other than creating a main album from the sub-album. |