Hello all, i am hoping i am in the right place. i keep getting this message on a theme i made: This version is not compatible with Drupal 7.x and should be replaced.
i am running the new iis with php and the new drupal: got it this morning.
in this location i have: \sites\all\themes
folder:
cyberglide
files:
cyberglide.info
layout.css
logo.png
page.tpl.php
screenshot.png
in cyberglide.info i have the following:
name = Cyberglide
description = Cyberglide Computer Services Theme, Has 14 Regions.
core = 7.x
engine = phptemplate
stylesheets[all][] = layout.css
regions[top_nav] = Top Nav
regions[main_nav] = Main Nav
regions[banner] = Banner
regions[main_top1] = Main Top1
regions[main_top2] = Main Top2
regions[main_top3] = Main Top3
regions[sidebar] = Sidebar
regions[main_content] = Main Content
regions[main_bottom1] = Main Bottom1
regions[main_bottom2] = Main Bottom2
regions[bottom1] = Bottom1
regions[bottom2] = Bottom2
regions[bottom3] = Bottom3
regions[bottom4] = Bottom4
; Information added by drupal.org packaging script on 2011-01-05
version = "7.0"
project = "drupal"
datestamp = "1294208756"
in the page.tpl.php
<?php
?>
<?php print render($page['header']); ?>
<div id="Wrapper">
<div id="TopBar">
<div class="Center">
<div id="Top">
<div id="Date"><?php echo date("l, F j Y"); ?></div>
<?php if ($page['top_nav']): ?>
<div id="TopNav"><?php print render($page['top_nav']); ?></div>
<?php endif; ?>
</div>
</div>
</div>
<div id="Background">
<div class="Center">
<div id="Header">
<?php if ($logo): ?>
<div id="Logo"><img src="<?php print $logo ?>" alt="Cyberglide Computer Services" title="Cyberglide Computer Services" id="logo" /></div>
<?php endif; ?>
<?php if ($page['main_nav']): ?>
<div id="MainNav"><?php print render($page['main_nav']); ?></div>
<?php endif; ?>
</div>
<?php if ($page['banner']): ?>
<div id="Banner"><?php print render($page['banner']); ?></div>
<?php endif; ?>
<?php if ($page['main_top1']): ?>
<div id="MainTop1"><?php print render($page['main_top1']); ?></div>
<?php endif; ?>
<?php if ($page['main_top2']): ?>
<div id="MainTop2"><?php print render($page['main_top2']); ?></div>
<?php endif; ?>
<?php if ($page['main_top3']): ?>
<div id="MainTop3"><?php print render($page['main_top3']); ?></div>
<?php endif; ?>
<?php if ($page['sidebar']): ?>
<div id="Sidebar"><?php print render($page['sidebar']); ?></div>
<?php endif; ?>
<div id="MainContent">
<?php print render($page['help']); ?>
<?php print render($page['main_content']); ?>
</div>
<?php if ($page['main_bottom1']): ?>
<div id="MainBottom1"><?php print render($page['main_bottom1']); ?></div>
<?php endif; ?>
<?php if ($page['main_bottom2']): ?>
<div id="MainBottom2"><?php print render($page['main_bottom2']); ?></div>
<?php endif; ?>
</div>
</div>
</div>
<div id="FooterBar">
<div class="Center">
<?php if ($page['bottom1']): ?>
<div id="Bottom1"><?php print render($page['bottom1']); ?></div>
<?php endif; ?>
<?php if ($page['bottom2']): ?>
<div id="Bottom2"><?php print render($page['bottom2']); ?></div>
<?php endif; ?>
<?php if ($page['bottom3']): ?>
<div id="Bottom3"><?php print render($page['bottom3']); ?></div>
<?php endif; ?>
<?php if ($page['bottom4']): ?>
<div id="Bottom4"><?php print render($page['bottom4']); ?></div>
<?php endif; ?>
</div>
</div> can someone please help me, many thanks all.
Comments
Sorted it, only took all
Sorted it, only took all day.
it was because i dident have a content region so renamed main content to content and now all works.
Michael Rooks
Cyberglide Computer Services