I have a web site in which there are 3 paltform, one of them is zenphoto.
I would like to put the preview of the last photogallery in the home page. somebody can help me?
thank you
Since you a probably speaking of a home page outside of Zenphoto you would have to use this:
http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin
and one of our image_album_statistics_plugin functions:
http://www.zenphoto.org/documentation/plugins/_plugins---image_album_statistics.php.html
Thank you Acrylian for your suggestion. I made a copy of template-functions.php in the folder of my index. I changed "WEBPATH" in "fotografia" (the name of my folder) and "ZENFOLDER" in "/template-functions.php".
Can you tell me, please, how to insert the code
$randomImage = getRandomImages();
$randomImageURL = getURL($randomImage);
echo "
';
in my home page?
I'm a beginners and I know very very little of php ;-P
thanks, thanks a lot
I don't think you understood the zenphoto-as-plugin post. You cannot take parts of zenphoto and place them somewhere and expect them to work. Zenphoto is a complete set of scripts that all depend on one-another.
The zenphoto-as-plugin post describes how to link a page that is not in the zenphoto folders to zenphoto.