test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • xpnetxp Friend
    #127611

    I’ ve create user14, user15, user16, user17, modules and trying to place them below user 1, 2, 5, 6, replaced with art banner modules. first user module (user14) scroll to a third line.

    here is the code:
    <blockquote><?php } ?>

    <!– END: MAIN NAVIGATION –>

    <?php

    $topspotlight = array (‘user1’, ‘user2′,’user5′,’user6’);

    $topsl = calSpotlight ($topspotlight);

    if( $topsl ) {

    ?>

    <!– BEGIN: TOP SPOTLIGHT –>

    <div id=”ja-topslwrap”>

    <div id=”ja-topsl”><div id=”innerpad” class=”clearfix”>

    <?php if( mosCountModules(‘user1’) ) {?>

    <div class=”ja-box<?php echo $topsl[‘modules’][‘user1’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>

    <div class=”innerpad1″><div class=”innerpad2″>

    <?php mosLoadModules(‘user1’, -2); ?>

    </div></div>

    </div>

    <?php } ?>

    <?php if( mosCountModules(‘user2’) ) {?>

    <div class=”ja-box<?php echo $topsl[‘modules’][‘user2’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>

    <div class=”innerpad1″><div class=”innerpad2″>

    <?php mosLoadModules(‘user2’, -2); ?>

    </div></div>

    </div>

    <?php } ?>

    <?php if( mosCountModules(‘user5’) ) {?>

    <div class=”ja-box<?php echo $topsl[‘modules’][‘user5’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>

    <div class=”innerpad1″><div class=”innerpad2″>

    <?php mosLoadModules(‘user5’, -2); ?>

    </div></div>

    </div>

    <?php } ?>

    <?php if( mosCountModules(‘user6’) ) {?>

    <div class=”ja-box<?php echo $topsl[‘modules’][‘user6’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>

    <div class=”innerpad1″><div class=”innerpad2″>

    <?php mosLoadModules(‘user6’, -2); ?>

    </div></div>

    </div>

    <div class=”ja-box<?php echo $topsl[‘modules’][‘user6’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>
    <div class=”innerpad1″>
    <div class=”innerpad2″>
    <?php } ?>
    </div>
    </div>
    </div>
    <?php if( mosCountModules(‘user14’) ) {?>
    <div class=”ja-box<?php echo $topsl[‘modules’][‘user1’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>
    <div class=”innerpad1″>
    <div class=”innerpad2″>
    <?php mosLoadModules(‘user14’, -2); ?>
    </div>
    </div>
    </div>
    <?php } ?>
    <?php if( mosCountModules(‘user15’) ) {?>
    <div class=”ja-box<?php echo $topsl[‘modules’][‘user2’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>
    <div class=”innerpad1″>
    <div class=”innerpad2″>
    <?php mosLoadModules(‘user15’, -2); ?>
    </div>
    </div>
    </div>
    <?php } ?>
    <?php if( mosCountModules(‘user16’) ) {?>
    <div class=”ja-box<?php echo $topsl[‘modules’][‘user5’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>
    <div class=”innerpad1″>
    <div class=”innerpad2″>
    <?php mosLoadModules(‘user16’, -2); ?>
    </div>
    </div>
    </div>
    <?php } ?>
    <?php if( mosCountModules(‘user17’) ) {?>
    <div class=”ja-box<?php echo $topsl[‘modules’][‘user6’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>
    <div class=”innerpad1″>
    <div class=”innerpad2″>
    <?php mosLoadModules(‘user17’, -2); ?>
    </div>
    </div>
    </div>
    <div class=”ja-box<?php echo $topsl[‘modules’][‘user6’]; ?>” style=”width: <?php echo $topsl[‘width’]; ?>;”>
    <div class=”innerpad1″>
    <div class=”innerpad2″>
    <?php } ?>
    </div>
    </div>
    </div>
    </div>
    </div>

    </div>

    <!– END: TOP SPOTLIGHT –></blockquote>

    Your help is appreciated.

    Regards
    T.L.

    Sherlock Friend
    #245750

    Hi xpnetxp !

    You add this following code section below code section for user1,user2,user5,user6 :


    <?php
    $topspotlight = array ('user14', 'user15','user16','user17');
    $topsl = calSpotlight ($topspotlight);
    if( $topsl ) {
    ?>
    <!-- BEGIN: TOP SPOTLIGHT -->
    <div id="ja-topslwrap">
    <div id="ja-topsl"><div id="innerpad" class="clearfix">

    <?php if( mosCountModules('user14') ) {?>
    <div class="ja-box<?php echo $topsl['modules']['user14']; ?>" style="width: <?php echo $topsl['width']; ?>;">
    <div class="innerpad1"><div class="innerpad2">
    <?php mosLoadModules('user14', -2); ?>
    </div></div>
    </div>
    <?php } ?>

    <?php if( mosCountModules('user15') ) {?>
    <div class="ja-box<?php echo $topsl['modules']['user15']; ?>" style="width: <?php echo $topsl['width']; ?>;">
    <div class="innerpad1"><div class="innerpad2">
    <?php mosLoadModules('user15', -2); ?>
    </div></div>
    </div>
    <?php } ?>

    <?php if( mosCountModules('user16') ) {?>
    <div class="ja-box<?php echo $topsl['modules']['user16']; ?>" style="width: <?php echo $topsl['width']; ?>;">
    <div class="innerpad1"><div class="innerpad2">
    <?php mosLoadModules('user16', -2); ?>
    </div></div>
    </div>
    <?php } ?>

    <?php if( mosCountModules('user17') ) {?>
    <div class="ja-box<?php echo $topsl['modules']['user17']; ?>" style="width: <?php echo $topsl['width']; ?>;">
    <div class="innerpad1"><div class="innerpad2">
    <?php mosLoadModules('user17', -2); ?>
    </div></div>
    </div>
    <?php } ?>

    </div></div>
    </div>
    <!-- END: TOP SPOTLIGHT -->
    <?php } ?>

    good luck !

    xpnetxp Friend
    #246112

    Hello hainn84,

    sorry for the delay re: & thanks for the coding. works like a charm 🙂

    Best Regards
    T.L.

    Menalto Friend
    #246120

    Do a check if it it validates after you added this code.

    xpnetxp Friend
    #246131

    <em>@Menalto 49568 wrote:</em><blockquote>Do a check if it it validates after you added this code.</blockquote>

    Thank you for the Advice Menalto!

    Best Regards
    T.L.

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

This topic contains 5 replies, has 3 voices, and was last updated by  xpnetxp 16 years, 8 months ago.

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