test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • wilero Friend
    #143761

    Hello!

    I would like an additional position underneath user1, user2 user5…just over the body section. Same with as body. How do I do this in a smooth way and still have the same style as the rest of the template?
    I want to use it only on the frontpage to display all articles in one specific category (a jReview functionality showing a list of all accomondations at my site).

    John Wesley Brett Moderator
    Anonymous Moderator
    #315628

    Hi wilero

    Open templates/ja_raite/index.php, find following code:


    <?php
    $spotlight = array ('user1','user2','user5');
    $sl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if ($sl) {
    ?>
    <div id="ja-topsl" class="clearfix">
    <?php if ( $this->countModules('user1') ) { ?>
    <div class="ja-box<?php echo $sl['user1']['class']; ?>" style="width: <?php echo $sl['user1']['width']; ?>;">
    <jdoc:include type="modules" name="user1" style="xhtml" />
    </div>
    <?php } ?>

    <?php if ( $this->countModules('user2') ) { ?>
    <div class="ja-box<?php echo $sl['user2']['class']; ?>" style="width: <?php echo $sl['user2']['width']; ?>;">
    <jdoc:include type="modules" name="user2" style="xhtml" />
    </div>
    <?php } ?>

    <?php if ( $this->countModules('user5') ) { ?>
    <div class="ja-box<?php echo $sl['user5']['class']; ?>" style="width: <?php echo $sl['user5']['width']; ?>;">
    <jdoc:include type="modules" name="user5" style="xhtml" />
    </div>
    <?php } ?>
    </div>
    <?php } ?>

    and duplicate it.

    and then, you rename positions to your suitable.

    wilero Friend
    #315644

    Thank you so much, that is great and saved me lots of valuable time :-*

    wilero Friend
    #315715

    Just one question though, if I duplicate this section above, wont I have three additional positions instead of one? I would like to have one with same width as body (and user1, user2 and user5 together) underneath user1, user2 and user5.

    imurillo Friend
    #318297

    I would like six additional position underneath user1, user2 user5.
    ..just over the body section.
    user9, user10, user 11
    .just over .
    user12, user13, user14
    I copy the the code you sad twice
    but only put four modules
    user10, user11
    user13, user14

    What happens with modules in position user9 and user12

    joomboom Friend
    #350401

    there’s no content there? Thanks a lot

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

This topic contains 7 replies, has 5 voices, and was last updated by  joomboom 14 years, 5 months ago.

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