for your zenphoto index
Call your header
call zenphoto
require_once("zen/template-functions.php");
$themepath = 'themes';
$theme = $_zp_gallery->getCurrentTheme();
$_zp_themeroot = WEBPATH . "/$themepath/$theme";
if (in_context(ZP_IMAGE)) {
include("$themepath/$theme/image.php");
} else if (in_context(ZP_ALBUM)) {
include("$themepath/$theme/album.php");
} else if (in_context(ZP_INDEX)) {
include("$themepath/$theme/index.php");
}
Call your footer
Really you should just have to follow the hack on noscope.com
Thank you! This is working.
But I have other problems just after installation.
WHen I try to upload a photo, here is the message I get:
Notice: Undefined variable: title in c:\documents and settings...
2006\zenphoto\zen\classes.php on line 377
Notice: Undefined variable: thumb in c:\documents and settings...
2006\zenphoto\zen\classes.php on line 516
Warning: Cannot modify header information - headers already sent by (output started at c:\documents and settings...2006\zenphoto\zen\classes.php:377) in c:\documents and settings...2006\zenphoto\zen\admin.php on line 58
I am working locally using EasyPhp
do you get this message after or before integrating it into your site.. ?
I tried the installation on my server (not locahost). I did as required but got the following error when trying to see my gallery:
Warning: main(classes.php): failed to open stream: No such file or directory in /home/.../zenphoto/zen/template-functions.php on line 7
Fatal error: main(): Failed opening required 'classes.php' (include_path='') in /home/.../zenphoto/zen/template-functions.php on line 7
So I think I will stop my attempts now and will try another software. But which???