![]() |
|
How do I show an album on the index 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: How do I show an album on the index page? (/thread-1501.html) |
How do I show an album on the index page? - Surlyben - 2007-06-26 I was wondering if there was any way to trick the index.php page into displaying like an album.php page. And, assuming that is possible, how I would go about telling it which album it is supposed to be displaying? I'm working on an art portfolio site, and it's never going to have more than a few albums, so I'd just as soon skip the page that lists the albums and get right into the albums themselves... Any help would be much appreciated... Thanks, How do I show an album on the index page? - sbillard - 2007-06-28 The code which prints out the image thumbs is lines 21-29 of album.php in the default theme. You could try replacing lines 20-36 in index.php with the above. How do I show an album on the index page? - Surlyben - 2007-06-28 That gives a Fatal error: Call to a member function on a non-object... However, putting the thumbnail getting code inside a while statement that calls the albums seems to work:
How do I show an album on the index page? - Surlyben - 2007-06-28 (I have a site up that I am testing this out on at http://benhard.com/zenphoto ) |