I'm going to need a custom page because I'll want to get a few albums and query them for subalbums (ie one dynamic album for Europe, one for Africa etc).
Acrylian's said there's a function to make an album current but I can't find it. Can anyone please give me a function name or ideally some code? All I want to do is retrieve five dynamic albums and list the names of the albums and subalbums (ie an index page). Surely it can't be that hard?
I've tried looking through the function documentation but all the getAlbum functions seem to act on the current album (which I don't know how to set).
I've read the object model introduction but it simply states that '$_zp_current_album is setup in album context as within the next_album() loop or on a theme's album.php'. I don't want to loop through all the albums, I just want to set it to a named dynamic album. I had a look at the print_album_menu.php code which uses getManagedAlbumList() but I think that returns an array of objects and I still don't know how to set the current album to one of those objects. I'm not fussed whether I use the object model or a prebuild function - whichever gets the job done is fine by me.
Help please! It only took me a few evenings to get a new hosted site up and running with all my galleries imported and to modify the HTML/CSS but I've now spent four evenings making zero progress because I can't work out a couple of lines of code. I understand PHP, CSS, HTML etc but I'm struggling to understand the logic flow for Zenphoto. I'm getting to the point where I'll happily pay someone to do this for me as my wife is due with our first baby in three weeks and I won't have any time to spend on tweaking my website...
I really do appreciate the quick answers everyone's given and I'm sorry if this sounds like a rant but I think sometimes the developers forget how much they know about Zenphoto and how hard it can be for a newcomer. Saying 'make your album current' is no doubt simple for you, but hours of searching forums and documentation for me! I'm serious about the payment too, within reasonable limits.
Thanks,
Ed.