14 years 3 months ago
Hi Trish,
Its really a matter of moving this code:
<?php if ($logoPosition =="above") { ?>
<div id="logo" style="width:<?php echo $$logoCols; ?>px;margin-right: <?php echo $gutter ?>px">
<a href="<?php echo $logoLink ?>"><img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template ?>/style/logo/<?php echo $logoFile ?>" alt="<?php echo $mainframe->getCfg('sitename');?>" /></a>
</div>
<?php } ?>
to around line 230 and remove the following code:
<?php if($this->countModules('top1')) : ?>
<div id="top1" style="width:<?php echo $$top1Cols; ?>px;margin-right: <?php echo $gutter ?>px">
<jdoc:include type="modules" name="top1" style="xhtml" />
</div>
<?php endif; ?>
Then you will need to open the vars.php file and replace:
if ($logoPosition=="above") {
$header = ($this->countModules('header2')?1:0)+ ($this->countModules('header3')?1:0)+ ($this->countModules('header4'));
}
elseif ($logoPosition=="below") {
$header = ($this->countModules('header1')?1:0) + ($this->countModules('header2')?1:0)+ ($this->countModules('header3')?1:0)+ ($this->countModules('header4'));
}
with
if ($logoPosition=="above") {
$header = ($this->countModules('top2')?1:0)+ ($this->countModules('top3')?1:0)+ ($this->countModules('top4'));
}
elseif ($logoPosition=="below") {
$header = ($this->countModules('top1')?1:0) + ($this->countModules('top2')?1:0)+ ($this->countModules('htop3')?1:0)+ ($this->countModules('top4'));
}
I havent tested this but I think it shoudl do what you want.
Thanks Anthony