Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • zenga Friend
    #146594

    Hello,

    I’m using Cooper template.
    I have hide the body section like this :
    -Editing home item, replacing #info, # Leading, Columns, #links to 0

    But I still have the line of body section as shown in the image at attachment.

    Please tell me how to hide this ligne or to remove it some where else (I want my JA News just under content slide.

    Thanks a lot,
    Zenga


    1. Capturer
    prakash Friend
    #325768

    Hi,

    I am not sure if there is a better method, but by a conditional formatting of the frontpage, you could achieve the results.

    Open this file

    templatesjacopperindex.php

    find this section (around line 180)

    <div id="ja-current-content" class="clearfix"><div id="ja-wrap1">
    <jdoc:include type="component" />
    </div></div>

    and replace it with this

    <?php if ( JRequest::getVar('view') != 'frontpage' ) {?>

    <div id="ja-current-content" class="clearfix"><div id="ja-wrap1">
    <jdoc:include type="component" />
    </div></div>
    <?php } ?>

    The black section is actually the content part and what you are doing is not showing it on the front page as you do not have any frontpage content.

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

This topic contains 2 replies, has 2 voices, and was last updated by  prakash 14 years, 11 months ago.

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