test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • kachete Friend
    #120518

    Hi you all

    I love all the templates from this site but i want to implement some features from one template to another template.

    From the ROCHEA template we want to implement the spotligth modules into the TELINE template.

    We donwload and install the module in the site and we can see that in the ROCHEA template it works fine but in the TELINE template it dont work,

    In te ROCHEA template it works in the modules USER1, USER2, and USER5, this module position are not in the TELINE template.

    Fron this modules we want to implement the spolt ligth in the TELINE modules USER6, USER7, USER8, USER9, and USER10, the ones in the botton.

    I assign the modules to the position and it dont work.

    PLEASE, we want to know hot to put it to work

    Thanks in advance

    Best regards

    borisn Friend
    #221093

    I know nothing about the spotligth module? but JA_TELINE has USER5 module position. It is under the TAB2

    kachete Friend
    #221547

    Still having problems with this

    i see this in the templates so someone who knows better the templates structure can give me some directions here

    I see that in the ROCHEA template this part of the code

    <div id="ja-content">

    <?php
    $spotlight = array ('user1','user2','user5');
    $topspl = calSpotlight ($spotlight);
    if( $topspl ) {
    ?>
    <!-- BEGIN: TOP SPOTLIGHT -->
    <div id="ja-topslwrap">
    <div id="ja-topsl" class="clearfix">

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

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

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

    </div>
    <div class="sep"></div>
    </div>
    <!-- END: TOP SPOTLIGHT -->
    <?php } ?>

    So i identifies an array for the modules USER1, USER2 and USER5

    then in the TELINE template i see this


    <?php
    $spotlight = array ('user6', 'user7','user8','user9','user10');
    $botsl = calSpotlight ($spotlight);
    if( $botsl ) {
    ?>
    <!-- BEGIN: BOTTOM SPOTLIGHT -->
    <div id="ja-botslwrap">
    <div id="ja-botsl" class="clearfix">

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

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

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

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

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

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

    Another array but this time for modules USER6, USER7, USER8, USER9 and USER10

    I also see that the template array have the same structure that the ROCHEA template but this time for the more modules

    So i see another thing , the CSS is diferent in the templates

    In the ROCHEA i see this

    <?php
    $spotlight = array ('user1','user2','user5');
    $topspl = calSpotlight ($spotlight);
    if( $topspl ) {
    ?>
    <!-- BEGIN: TOP SPOTLIGHT -->
    <div id="ja-topslwrap">
    <div id="ja-topsl" class="clearfix">

    In the TELINE is this

    <?php
    $spotlight = array ('user6', 'user7','user8','user9','user10');
    $botsl = calSpotlight ($spotlight);
    if( $botsl ) {
    ?>
    <!-- BEGIN: BOTTOM SPOTLIGHT -->
    <div id="ja-botslwrap">
    <div id="ja-botsl" class="clearfix">

    Thats all i can see

    But i see it and dont know how to change it to make it work or try this as a solution

    Please i ask again

    Why is so dificult to put this to work in this template

    Please help us here

    Best regards

    pyromaniac Friend
    #221745

    I am interessted too.

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

This topic contains 4 replies, has 3 voices, and was last updated by  pyromaniac 17 years, 6 months ago.

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