I am trying to get a modified theme I created to work so Wordpress and Zenphoto are integrated in their looks. I'm using Ruzee’s method of changing the theme files in Zenphoto. All I'm coming up with is a blank page now when I choose the new modified theme. I'm sure it's syntax but I can't find it. Here is the index.php code
Here is the site;
http://www.urbanlivingseattle.com/wordpress/zenphoto/index.php?album=testingHere is the code:
<?php if (!defined('WEBPATH')) die(); ?>
<?php require($_SERVER['DOCUMENT_ROOT'].'/theresse/web/public/wordpress/wp-content/themes/new_design/header.php');?>
<?php
//add zen css to the wordpress header function addcss(){
global $_zp_themeroot;
echo '<link rel="stylesheet" href="'.$_zp_themeroot.'/zen.css" type="text/css" />';
}
add_action('wp_head', 'addcss');
?>
<?php get_header()?>
<php db_connect(); // reconnect to zenphoto db ?>
<html>
<head>
<title><?php printGalleryTitle(); ?></title>
<link rel="stylesheet" href="<?php echo $_zp_themeroot ?>/zen.css" type="text/css" />
<?php zenJavascript(); ?>
</head>
<div id="bloque" style="width: 773px; align: right; padding-top:4px;">
<body>
<div id="main" "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<div id="gallerytitle">
<h2><?php echo getGalleryTitle(); ?></h2>
</div>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
" title="View album: <?php echo getAlbumTitle();?>">
<?php printAlbumThumbImage(getAlbumTitle()); ?>
<div class="albumdesc">
<small><?php printAlbumDate("Date Taken: "); ?></small>
<h3>
" title="View album: <?php echo getAlbumTitle();?>"><?php printAlbumTitle(); ?></h3>
<?php printAlbumDesc(); ?>
</div>
<p style="clear: both; ">
<?php endwhile; ?>
<?php printPageListWithNav("« prev", "next »"); ?>
<div id="enableSorting">
<?php printSortableGalleryLink('Click to sort gallery', 'Manual sorting', NULL, 'credit'); ?>
</div>
</div>
<div id="credit"><?php printAdminLink('Admin', '', ' | '); ?>Gallery by
zenphoto</div>
</div>
<?php $wpdb->select(livingseattle); //reconect wordpress db?>
<?php get_sidebar();?>
<?php get_footer();?>
</body>
</html>