![]() |
|
Albums on image.php - 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: Albums on image.php (/thread-1054.html) Pages:
1
2
|
Albums on image.php - acrylian - 2007-11-23 Right, getAlbumID() of course! getIDforAlbum() was a doubled function that we got rid of in 1.1. As I said it's been a while I made this... Albums on image.php - teedog - 2007-11-23 Thanks acrylian. Again, I'm just blown away by how far each of the zenphoto devs here go to help users. Don't have time to read through your function right now but will do later. Here's a function I hacked up to be used in image.php (and album.php I think) which displays a dropdown menu of subalbums with the same parent when you are in a subalbum. That is, if Album1 has Sub1, Sub2, Sub3, and you are viewing Sub2/Image2, this function lists Sub1, Sub2, Sub3. I'm a total noob so feedback is welcome. ` Select Subalbum Albums on image.php - acrylian - 2007-11-25 Teedog: Albums on image.php - teedog - 2007-11-25 Hmm I copied and pasted from my PHP file. Wonder if I messed something up when changing superficial text and variable names around. Anyway, not sure how adaptable/useful my function is to other people. It only outputs subalbums sharing the same parent in a dropdown menu. I can attach my file to Trac or something if you'd like. Albums on image.php - acrylian - 2007-11-28 Just wanted to tell: I found an error that prevented the display: |