Hi Guys,

I'v created a new template theme, which features new regions, including a subheader, sub content & left/right content and finally a sub-footer region.

I have created the necessary page.tpl.php // style.css // .info file & screenhshot

Drupal 6 will allow me to switch to my new theme, however the page goes white? Does anybody know what is wrong with the below code below? Thanks in advance!


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php print $head_title ?></title>
<?php print $styles ?>
</head>
<body class="thrColFixHdr">
<div id="container">
<div id="header"> <?php print $site_name ?> <?php print $header ?></div>
    <div id="sub-header"> <?php print $subheader ?> <?php print $breadcrumb ?></div>
    <?php if ($left): ?> <div id="leftblock"><?php print $left ?> </div>
  <div id="maincontent"> <h3><?php print $title ?></h3><?php print $content ?></div>
        <?php if ($right): ?> <div id="rightblock"> <?php print $right ?></div>
        <?php if ($subcontent): ?><div id="sub-content"> <?php print $subcontent ?></div>
        <?php if ($leftcontent): ?><div id="left-content"> <?php print $leftcontent ?></div>
        <?php if ($rightcontent): ?><div id="right-content"> <?php print $rightcontent ?></div>
        <div id="footer"> <?php print $footer ?> </div>
        <?php if ($submenu): ?><div id="base-menu"> <?php print $submenu ?></div>
        </div>
     <?php print $closure ?>
   </body>
</html>

my .info file...


; $Id$
name = Sunkendreams
core = 6.x
engine = phptemplate
regions[left] = leftsidebar
regions[right] = rightsidebar
regions[content] = maincontent
regions[footer] = footer
regions[header] = header
regions[subheader] = subheader
regions[subcontent] = subcontent
regions[leftcontent] = leftcontent
regions[rightcontent] = rightcontent
regions[submenu] = submenu

Comments

Jeff Burnz’s picture

vonny007’s picture

Your help is much appreciated!

I'll give that a go!

Thanks!