Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • kalby Friend
    #129602

    I tried to get an xtra module (advert1) after user9 and it works but the middle module stays a little bit higher up than the left and the right module: Se code and image:

    How to fix this?

    <blockquote><?php
    $spotlight = array (‘user8′,’user9′,’advert1’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>

    <?php if( $this->countModules(‘user8’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user8″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user9’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user9’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user9’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user9″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘advert1’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘advert1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘advert1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”advert1″ style=”xhtml” />
    </div>
    <?php } ?>
    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?></blockquote>


    1. moduler
    kalby Friend
    #253225

    I came with a solution by myself.
    I added this to template.css, beacuse it was missing to manage xtra module:

    #ja-botsl .ja-box-center div.moduletable {
    margin: 10px 3px 0 3px;
    }

    aedin84 Friend
    #270343

    I found this post very useful as I can now place another module after User 8/9, which provides much needed aide in design. Though I didn’t use the name advert1; I instead used User10.

    fresco Friend
    #277292

    I have noticed the space occupied by modules is always 33%, is there a way to reduce the side modules space, in order to publish left and right module with a 25% width and center with a 50%width?
    Where should I look to achieve this distribution?
    thanks

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

This topic contains 4 replies, has 3 voices, and was last updated by  fresco 16 years, 1 month ago.

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