![]() |
|
display multiple galleries on one page? - 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: display multiple galleries on one page? (/thread-4935.html) |
display multiple galleries on one page? - TIBrent - 2009-03-30 Ok the same client who I was working with before for the image popup has a new request. He wants to display all the galleries on one page. In other words he wants categories for his photos like; promo, live, fans etc... & he wants all of those galleries on one page with the category title to separate the different sections. An illustrated Example is this site : http://spokenmusic.com/photos.php display multiple galleries on one page? - sbillard - 2009-03-30 Of course you can do this, it is software after all. First, use For most themes what this amounts to is moving the next_image loop to within the next_album loop, changing the parameters to display multiple galleries on one page? - TIBrent - 2009-03-30 Awesome sbillard! Thank you so much, worked like a charm! Hoorah! Zenphoto, making my life easier one day at a time. display multiple galleries on one page? - chuubenettes - 2009-04-02 Hi there, I'm trying to do the same thing as well- to the effect of marianovivanco.com where I just show the first 5 thumbs of each album on my gallery page rather than one main image. but I'm not quite sure where I should make the edits. In the theme by stopdesign, the gallery php only shows next_album, and the album page I can find both next album and image, which I've both switched to true.. but nothing looked different. Should I move the code from the album page and paste it onto the gallery page? I tried putting the album code inside the gallery loop, and now there are placeholders there but it says "Fatal error: Call to a member function isDynamic() on a non-object in ../zp-core/template-functions.php on line 458" I haven't removed the code that displays the album thumbnails yet, but is this on the right track? display multiple galleries on one page? - acrylian - 2009-04-02 IF you want to show the thumbs of the images within an album, you need to move the next_image loop within the next_album loop. Please also read our theming tutorial to get familiar with the basics of Zenphoto themes. |