![]() |
|
How to add own header / footer? - 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: How to add own header / footer? (/thread-2734.html) |
How to add own header / footer? - gekamas - 2008-04-24 I am looking for some basic guidance on how to incorporate Zenphoto (which looks fantastic, btw) into my webtemplate (stick it between the header and the footer). So here are the questions:
All comments are GREATLY appreciated! How to add own header / footer? - gekamas - 2008-04-24 Ok after some research, I realize that "themes" and "theming" is the answer. So whoever is looking to incorporate Zenphoto into his or her own website should check those sections/topics out. It may seem obvious for some of you, but for the rest of the folks out there, theming means actually making themes for others for fun or profit. Check this link out: http://www.infobulles.ch/syndication/ZenPhoto_Gallery/2006/09/15/How_to_Make_a_ZenPhoto_Theme__updated_ How to add own header / footer? - acrylian - 2008-04-24 That link is old and outdated! The easiest is to look at the included default theme. If you have some knowledge about web design, the basic elements are not that hard to find since all functions sort of named after what they do. Further information about theme functions please see here: www.zenphoto.org/documentation/index.html How to add own header / footer? - Pierrot - 2008-04-26 Have look at my site. If what I've done (called up the header and footer) is what you are talking about let me know and I'll let you know how I did it. How to add own header / footer? - sevenupcan - 2008-04-26 Pierrot, did you use a common header/footer across your site? and if so how do you do this? Thanks. How to add own header / footer? - acrylian - 2008-04-26 Actually that is really easy, just make a php file called header.php with the general header code and then call it with ``in you theme (with the right path of course). How to add own header / footer? - Pierrot - 2008-04-26 I'm not an expert but I can tell you what I did... Primarily, I used this tutorial and then made the changes to the css file. I initially thought that the Zenphoto part of my site would still be under the rule of the it's theme css. This wasn't the case though - and every change I wanted to make in my gallery had to be made through my Wordpress theme css. I don't know why this was the case or whether it matters (Acrylian, perhaps you can answer that?) but it worked so I went with it. Ultimately, what this meant was that I had to move some chunks of my ZP css to my WP file. I'm so new to this and tend to panic anytime I have to do something which involves more than 2 steps so I designed it all locally first using CSSEdit and TextWrangler. I worded with an entire copy of the ZP Default theme, which I renamed Default2, then just uploaded that and the new WP theme css. That's it. It functions well. Let me know if I can help in any way, P |