![]() |
|
Displaying specific albums (using Zenphoto as a "plug-in") - 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: Displaying specific albums (using Zenphoto as a "plug-in") (/thread-9009.html) |
Displaying specific albums (using Zenphoto as a "plug-in") - LiamF1 - 2011-08-27 Hi guys, I'm trying to display the album tile (title, thumb, description etc.) of 3 particular albums within another page of my website outside of the zenphoto directory. I've viewed the help page on using Zenphoto as a "plug-in", and it seems to make sense but I can't think of what bit of code I need to specify which albums I want to appear. I'm using the excellent zpGalleriffic theme. Here is the code (modifyied a little to fit in with may website theme) on the gallery.php page which displays the album tiles: `
Displaying specific albums (using Zenphoto as a "plug-in") - acrylian - 2011-08-27 You need to setup the right context using the object model to use these. Recommended read: This might also be of help: Displaying specific albums (using Zenphoto as a "plug-in") - LiamF1 - 2011-08-28 Thanks for those articles, I'm still learning so I hope you can have a little patience with me. So far I've managed to get all the album tiles to appear on my external page but haven't been able to single out the ones I want yet. I have inserted; `` I tried to change I can't work out how the makeAlbumCurrent fits into it either. I really don't want to take up any of your time but I do appriciate any guidance you can give! Displaying specific albums (using Zenphoto as a "plug-in") - acrylian - 2011-08-29 Well, you did not setup the gallery object. Please re-read and understand: |