Hi, i installed the last zenphoto and zpage in the "zenphoto" directory in the root of the site.
I have and index.php in the root i made.
I've copied this code at the top of index.php
define('ZENFOLDER', 'zp-core');
define('WEBPATH', 'zenphoto');
require_once(WEBPATH . "/" . ZENFOLDER . "/template-functions.php");
header ('Content-Type: text/html; charset=' . getOption('charset'));
But i can't show footer, sidebar and links are broken.
What to do?
Comments
the index file is in the root of the site, zp is installed into "/zenphoto", but i'm getting inclusions errors.
Thank you for help!
Why in next releases of zpage realize it?
The default zenpage index with galleries, for my site should be a secondary page accessible only from links in the menu.
So i should create another page, with themes, styles, menus etc. that zenphoto uses.
I did it, but calling sidebar and footer i get this error
Warning: main(footer.php) [function.main]: failed to open stream: No such file or directory in /membri/assdhlpicinisco/index.php on line 50
There is now a brief desctiption of this in the themeing tutorial http://www.zenphoto.org/2008/05/theming-tutorial/
But briefly, You want to rename your current index.php file to gallery.php, create a new index.php script for your "news" page, and set the theme option `custom index page` to gallery.
See you!