Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • pelaestrada Friend
    #154036

    Guys, please, how do I switch the positions of content to the right and left to the left.


    1. change-position
    congtq Friend
    #354574

    You need to change in templatesja_rasitelayoutsblocksmain.php

    Move this code
    [PHP]<?php if($this->countModules($inset2)) : ?>
    <div class=”ja-col column ja-inset2″ style=”width:<?php echo $this->getColumnWidth(‘i2’) ?>%”>
    <div class=”ja-rs5-top”><div class=”ja-rs5-tl”> </div><div class=”ja-rs5-tr”> </div></div>

    <div class=”ja-rs5-mid”><div class=”ja-rs5-ml”><div class=”ja-rs5-mr”>
    <jdoc:include type=”modules” name=”<?php echo $inset2;?>” style=”JAxhtml” />
    </div></div></div>

    <div class=”ja-rs5-bot”><div class=”ja-rs5-bl”> </div><div class=”ja-rs5-br”> </div></div>
    </div>
    <?php endif; ?>[/PHP]
    up to above of
    [PHP]<div id=”ja-content” class=”column” style=”width:<?php echo $this->getColumnWidth(‘cw’) ?>%”>[/PHP]

    pelaestrada Friend
    #354924

    Thanks congtq, it works 😉

    pelaestrada Friend
    #355046

    congtq, now, i need to put or move a new position in Home, to insert module ja_tabs, can you help me again?

    Sherlock Friend
    #355112

    <em>@pelaestrada 193376 wrote:</em><blockquote>congtq, now, i need to put or move a new position in Home, to insert module ja_tabs, can you help me again?

    </blockquote>

    Dear pelaestrada

    You can go to the templatesja_rasitelayoutsdefault.php file,Look for this code
    [PHP]$positions = array (
    ‘left1’ =>”,
    ‘left2’ =>”,
    ‘left-mass-top’ =>”,
    ‘left-mass-bottom’ =>”,
    ‘right1’ =>”,
    ‘right2′ =>’right’,
    ‘right-mass-top’ =>”,
    ‘right-mass-bottom’ =>”,
    ‘content-mass-top’ =>’content-mass’,
    ‘content-mass-bottom’ =>”,
    ‘content-top’ =>”,
    ‘content-bottom’ =>”,
    ‘inset1’ =>”,
    ‘inset2′ =>’left’
    );[/PHP]

    And change it to
    [PHP]$positions = array (
    ‘left1’ =>”,
    ‘left2’ =>”,
    ‘left-mass-top’ =>”,
    ‘left-mass-bottom’ =>”,
    ‘right1’ =>”,
    ‘right2′ =>’right’,
    ‘right-mass-top’ =>”,
    ‘right-mass-bottom’ =>”,
    ‘content-mass-top’ =>’content-mass’,
    ‘content-mass-bottom’ =>”,
    ‘content-top’ =>”,
    ‘content-bottom’ =>’content-bottom’,
    ‘inset1’ =>”,
    ‘inset2′ =>’left’
    );[/PHP]

    Then go to the back-end and assigning your modules to the content-bottom position.

    I hope this help !

    pelaestrada Friend
    #355128
    pelaestrada Friend
    #355129

    Sorry guys, i didn’t see this new reply yet, thanks 🙂

    pelaestrada Friend
    #355130

    dath, the position content-bottom doesn’t exist in my templat,

    but when i put the position to bottom it works

    [PHP] ‘content-bottom’ =>’content-bottom’, [/PHP]

    to
    [PHP]
    ‘content-bottom’ =>’bottom’, [/PHP]

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

This topic contains 8 replies, has 3 voices, and was last updated by  pelaestrada 14 years, 1 month ago.

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