I'd like to have arrows ( > ) in album.php so that visitors can switch to the previous/next album. This works good with
`
">
">
`
..., but I should have a parameter for the title tag. getAlbumTitle only returns the Title of the current album and does not allow parameters. Is it possible to create a workaround?
Wete
It always comes down to this:
http://www.zenphoto.org/news/zenphotos-object-model-framework
getNext/PrevAlbum return the object of the those albums.
The basic concept is explained here: http://www.zenphoto.org/news/zenphotos-object-model-framework#global-object-variables
Just that here we get the object via the getNext/prevAlbum functions. Pass that to a variable and use the method to get the title. Exactly the same as in the example.
This is nothing ZP specific, it is general PHP. Please also review the functions documentation on the classes.
OK, thanks. Works fine here.
You may have a look:
http://www.musikverein-zunsweier.de/galerie/rpk2009/