Integration into my website?

Hello,

And thank you for this software.

I have a website with specific headers and footers. Is it possible to integrate the gallery between my header and footers?

Cheers

Comments

  • 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

    http://www.noscope.com/journal/2005/09/zenphoto-08-released
  • 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.. ?
  • After and before.
  • 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???
  • This is exactly the same error on my screen. At the moment i am not integrating anything just try to install it. Could get into the admin create an album after that i want to view it and get that error as above. Probably a path-error but where?
Sign In or Register to comment.