Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • serkany Friend
    #122572

    Hi,

    I want to add another module position on the top, between the logo and user4 position. I need to increase the height of top part and I can do that but I have no idea about how to add a new module position. Any help will be appreciated…

    Thanks in advance,
    Serkan

    serkany Friend
    #229023

    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 -->

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  serkany 16 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum