Viewing 1 post (of 1 total)
  • Author
    Posts
  • Saguaros Moderator
    #153175

    Hello everybody!

    If you are finding a solution for disabling the main body on the home page only, i have a solution to resolve this one

    Please open the file templates/ja_rasite/layouts/default.php and try to find the following code ( lines: 69 -> 85):
    [PHP]
    <div class=”ja-rs2-top”><div class=”ja-rs2-tl”> </div><div class=”ja-rs2-tr”> </div></div>

    <div class=”ja-rs2-mid”><div class=”ja-rs2-ml”><div class=”ja-rs2-mr clearfix”>

    <?php $this->loadBlock(‘breadcrumb’) ?>

    <div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>

    <?php $this->loadBlock(‘main’) ?>

    <?php $this->loadBlock(‘left’) ?>

    </div>

    <?php $this->loadBlock(‘right’) ?>

    </div></div></div>

    <div class=”ja-rs2-bot”><div class=”ja-rs2-bl”> </div><div class=”ja-rs2-br”> </div></div>

    [/PHP]

    replace:
    [PHP]
    <?php if( !$this->isFrontPage() ) : ?>

    <div class=”ja-rs2-top”><div class=”ja-rs2-tl”> </div><div class=”ja-rs2-tr”> </div></div>

    <div class=”ja-rs2-mid”><div class=”ja-rs2-ml”><div class=”ja-rs2-mr clearfix”>

    <?php $this->loadBlock(‘breadcrumb’) ?>

    <div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>

    <?php $this->loadBlock(‘main’) ?>

    <?php $this->loadBlock(‘left’) ?>

    </div>

    <?php $this->loadBlock(‘right’) ?>

    </div></div></div>

    <div class=”ja-rs2-bot”><div class=”ja-rs2-bl”> </div><div class=”ja-rs2-br”> </div></div>

    <?php endif; ?>
    [/PHP]

    GOod Luck :-*

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  Saguaros 14 years, 3 months ago.

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