How do I integrate zenphoto into my website?

Hey all,

Apologies in advance if this is answered, perhaps I am not searching for the correct keywords...

I wish to do something like this zenphoto gallery http://www.tnawrestling.com/component/option,com_wrapper/Itemid,119/

Where the gallery is integrated into website. My website is www.overman.info, and I wish to keep the same headers and footers, but insert the gallery into the main space. How is this accomplished? Is there code I can embed or do I have to use frames? Any help is appreciated!

Thanks,

Overman

Comments

  • acrylian Administrator, Developer
    You can either make a Zenphoto theme that looks like your site or try this http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin.

    Also please try a search for that on the forum, we have indeed plenty of threads for that..:-)
  • acrylian!

    Thanks for the help, but I have been over that plugin page, and don't quite understand how to fully utilize it. I'm kinda new at this stuff, but catch on quick. The tutorial mentions a lot of 'pages' but I think I am getting confused on what is what, and what tags I may need to have...
  • I wish to call the entire gallery into one of my pages.

    Can you possible point me to some threads?

    Thanks in advance!
  • acrylian Administrator, Developer
    You will find some here: http://www.zenphoto.org/support/tags.php?tag=integration
    Sorry, I would have to search just like you and don't have them at hand right now.
  • Are there more details on the plugin' method? I've tried it too and can't seem to get it to work.

    I've incorporated the code:

    define('ZENFOLDER', 'zp-core');
    define('WEBPATH', 'zenphoto');
    require_once(WEBPATH . "/" . ZENFOLDER . "/template-functions.php");

    ...and was able to get the random image to display but how do I include the entire gallery.

    Thanks,
    Mike
  • acrylian Administrator, Developer
    That plugin way is bascially used to use certain Zenphoto function outside of Zenphoto. If you want to use Zenphotot itself within another page it is really the easiest to make the Zenphoto theme look like the site and include its main navigation on the ZP theme.

    You also should probably read the theming tutorial to understand the standard way Zenphoto works.

    Otherwise you will have to work with the Zenphoto object model framework directly and will probably have quite some work to do. On Zenphoto.org we have two separate installs where the Zenphoto theme just uses the Wordpress header and footer.
  • I did a little more playing and I was able to get things integrated - BUT my paths are all funky. Default page isn't going to be the gallery so things are a little out of wack. Have to play around some more to figure out how to change the default "gallery" page and also how to get my paths correct.

    Right now it appears as if I've got 2 paths going...Any insight on where I need to put my non-gallery files so everything works?
Sign In or Register to comment.