![]() |
|
zenphoto, zenpage and a different index - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: zenphoto, zenpage and a different index (/thread-3907.html) |
zenphoto, zenpage and a different index - antonionardelli - 19-10-2008 Hi, i installed the last zenphoto and zpage in the "zenphoto" directory in the root of the site. define('ZENFOLDER', 'zp-core'); But i can't show footer, sidebar and links are broken. zenphoto, zenpage and a different index - sbillard - 19-10-2008 zenpage takes a little more that just the zenphoto template functions to work. I do not know it this is sufficient, but at least you will have to add a require_once statement for the zenpage template functions. zenphoto, zenpage and a different index - acrylian - 19-10-2008 Zenpage needs a normal Zenphoto install, no need to include anything. Maybe you could explain a little further what you are trying to do? zenphoto, zenpage and a different index - antonionardelli - 19-10-2008 Hi all, i'm tryng to have an index in the root of the site with zppage components themes, and styles. zenphoto, zenpage and a different index - acrylian - 19-10-2008 Then install zenphoto in the root. zenphoto, zenpage and a different index - antonionardelli - 19-10-2008 I need to have an index different from the default zp index. zenphoto, zenpage and a different index - antonionardelli - 19-10-2008 When i used wordpress i remember there was the option to choose a page as index. zenphoto, zenpage and a different index - acrylian - 19-10-2008 Why? If you don't tell more details we won't be able to help any further. Besides that the Zenpage plugin has not been tested that way nor is it actually meant to be used that way. zenphoto, zenpage and a different index - antonionardelli - 19-10-2008 I think i'm not explayning well. Sorry for this. zenphoto, zenpage and a different index - sbillard - 19-10-2008 You probably want a separate index page from the normal gallery page. This is the way the Efferevescece+ theme uses zenpage--essentially the index.php page is the news page with a link to the gallery which looks like (and actually is) the index.php page of a zenphoto installation not using zenpage. 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 zenphoto, zenpage and a different index - antonionardelli - 20-10-2008 Hi sbillard, i had a fast look at your reply and the things to do, now i'm going at work, this afternoon i'll try to take it working. You wrote all i need!! Thank you for this, and sorry for my english!!Bye zenphoto, zenpage and a different index - antonionardelli - 20-10-2008 Now all is working prectly, many thanks to sbillard and acrylian!!! |