Member
Member
saintwright   2009-02-14, 01:44
#1

Hi

i am a newbie to php and zenphoto - I would like to replace the prev / next links in album.php and have the name of the albums instead.

next_album(); loops through the subalbums
getparentablums(); does nothing.

I would like to list the siblings of the current album.

Any ideas?

Member
Member
sbillard   2009-02-14, 01:52
#2

look up the album object function getsubalbums() [I am not where I can look it up at the moment, spelling may differ.] Use the function with $_zp_current_album. The function will return you a list of album names.

Member
Member
saintwright   2009-02-14, 03:37
#3

I do not want a list of the subalbums but a list of the siblings of the current album.

So e.g.

I have at the top: Album 1; Album 2; Album 3 and Album 4.

I am looking at the images in Album 2 on Album.php but I also want top have on this page the direct links to Album1, Album 3 and Album 4. Instead of next and prev.

Can this be done?

thanks

Member
Member
saintwright   2009-02-14, 03:39
#4

btw I am a newbie so things need to be explained very simply!

Member
Member
bond303   2009-02-17, 11:31
#5

I would like to know as well.

Thanks
Lee

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