I created a module position and made the following change in the header part. But the banner is displayed at the bottom, on the main menu, not on the same level with logo and search.
Any idea about how to correct this and move the banner to the top?
Thanks,
Serkan
Original:
<!-- BEGIN: HEADER -->
<div id="ja-header" class="clearfix">
<h1>
<a href="index.php"><img src="<?php echo $ja_template_path;?>/images/logo-<?php echo $ja_color; ?>.gif" alt="<?php echo $mosConfig_fromname?>" /></a>
</h1>
<?php if ($ja_tool || mosCountModules('user4')) {?>
<div id="ja-usertoolswrap">
<div id="ja-usertools">
<?php genToolMenu($ja_tool & 1); /*screen tool*/ ?>
<?php genToolMenu($ja_tool & 2); /*color tool*/ ?>
<?php if (mosCountModules('user4')) {?>
<div id="ja-search">
<?php mosLoadModules ( 'user4', -1 ); ?>
</div>
<?php } ?>
</div>
</div>
<?php } ?>
</div>
<!-- END: HEADER -->
I added this code:
<?php if (mosCountModules('topbanner')>0) { ?>
<?php mosLoadModules('topbanner',-2); ?>
<?php } ?>
So it became like this:
<!-- BEGIN: HEADER -->
<div id="ja-header" class="clearfix">
<h1>
<a href="index.php"><img src="<?php echo $ja_template_path;?>/images/logo-<?php echo $ja_color; ?>.gif" alt="<?php echo $mosConfig_fromname?>" /></a>
</h1>
<?php if (mosCountModules('topbanner')>0) { ?>
<?php mosLoadModules('topbanner',-2); ?>
<?php } ?>
<?php if ($ja_tool || mosCountModules('user4')) {?>
<div id="ja-usertoolswrap">
<div id="ja-usertools">
<?php genToolMenu($ja_tool & 1); /*screen tool*/ ?>
<?php genToolMenu($ja_tool & 2); /*color tool*/ ?>
<?php if (mosCountModules('user4')) {?>
<div id="ja-search">
<?php mosLoadModules ( 'user4', -1 ); ?>
</div>
<?php } ?>
</div>
</div>
<?php } ?>
</div>
<!-- END: HEADER -->