Hello,
I'm trying to use ZenPhoto to display a single album of images on a site. In the admin section I actually have 2 albums, active and archive. I'd like the index.php template page to display all the photos in the active album only (so I moved the code from album.php into index.php), and that would be the only album available to site visitors. I tried setting $_zp_current_album in the controller file to 'active', but that didn't work. I've tried a few other things too, but I keep getting the following error.
Fatal error: Call to a member function getImages() on a non-object in /scrapbook/zen/template-functions.php on line 408
Is there a way to set the default album?
Comments
www.christophclasen.de
It's in german but I think you'll see what I mean. The page uses zenphoto (in combination with Website Baker CMS) for the image galleries (for example "Kinderbuch" (="Children's Books") but links directly into the albums instead of using index.php.
Is that maybe what you want to do?