I"m not even sure if what I am doing is even possible. But if so, how can I make it work? PLease help. Ok,
http://www.deansanford.com is the site. Click on gallery at the top. and *poo* you see my problem. This is what I am trying to do.
<?php
//################### menu include ###############
$center = $_GET['center'];
elseif ($center == "zenphoto/index.php") { include("$center"); }
else { echo "unknown include file.\n"; }
//###################### end menu #################
?>
So on the menu top the link is index1.php?center=zenphoto/index.php
SO you can see I want to insert the album within the space provided.
Cause this works
http://www.deansanford.com/zenphoto/ But I don't really understand how to edit that theme. I am very new at this.
Any help is greatly appreciated.
Thank you in advance.
Heather
Comments
We can help you get started with theming Zenphoto if you need help with that. It's really quite easy to get started.
What are you using to do the main site? Doesn't look like Wordpress.
Thank you
Heather
Since your handcoding everything, just theme zenphoto to match your site. All the theme files you'll need (including the css) are located in the default-dark theme directory, and you can just change the headers and footers to the ones you're using for the rest of the site. Should be relatively straightforward. Just look at the code in the default-dark dir for an idea of how to lay out the css and html. Might take a bit of poking around in the code, but it shouldn't take long to adapt your site html/css to zenphoto's theming. Just remember to edit index.php, album.php, and image.php with your header/footer/css information, and make sure to take note of the zenphoto "loops" and other php declarations as you go through it.
That way, when someone clicks on "gallery", you direct them to the /zenphoto folder and the zenphoto theme will take it from there. You're not having to mess with any sort of redirection tricks with code then. I would suggest getting it working without mod_rewrite first, and then you can mess with pretty URLs later.
Let me know what you think from here, and we can proceed with any theme questions.
That's what we're here for. Glad to help.
We're here if you have any questions.