Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • checkmate40 Friend
    #145622

    Here’s a link to the similar question. But thats been marked “answered”

    http://www.joomlart.com/forums/topic/removing-empty-container-from-homepage/

    The solution posted abovebreaks the sub page formatting though… Is there a way to split the formatting of the homepage content and the sub page content so they are not controlled by the same style/div?

    Or have it recognize when there is no homepage content and turn off the formatting…

    There a way to disable the frontpage content div altogether without it effecting the sub pages?

    Thanks.

    Anonymous Moderator
    #322068

    Hi

    for the case, please try to do with my guider:

    Open templates/ja_lead/index.php, at about line 173, find following code:

    [PHP] <div class=”ja-content-inner”>

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id=”ja-current-content” class=”clearfix”>
    <jdoc:include type=”component” />
    </div>
    <?php endif; ?>

    <?php if ( $this->countModules(‘ja-news’) ) { ?>
    <!– JA NEWS –>
    <div id=”ja-news”>
    <jdoc:include type=”modules” name=”ja-news” style=”xhtml” />
    </div>
    <!– //JA NEWS –>
    <?php } ?>

    </div>[/PHP]

    and change to:


    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div class="ja-content-inner">
    <div id="ja-current-content" class="clearfix">
    <jdoc:include type="component" />
    </div>
    </div>
    <?php endif; ?>

    I think you don’t need to use ja-news position in the case so i removed it.

    Anonymous Moderator
    #322069

    Hi

    for the case, please try to do with my guider:

    Open templates/ja_lead/index.php, at about line 173, find following code:

    [PHP] <div class=”ja-content-inner”>

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id=”ja-current-content” class=”clearfix”>
    <jdoc:include type=”component” />
    </div>
    <?php endif; ?>

    <?php if ( $this->countModules(‘ja-news’) ) { ?>
    <!– JA NEWS –>
    <div id=”ja-news”>
    <jdoc:include type=”modules” name=”ja-news” style=”xhtml” />
    </div>
    <!– //JA NEWS –>
    <?php } ?>

    </div>[/PHP]

    and change to:


    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div class="ja-content-inner">
    <div id="ja-current-content" class="clearfix">
    <jdoc:include type="component" />
    </div>
    </div>
    <?php endif; ?>

    I think you don’t need to use ja-news position in the case so i removed it.

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

This topic contains 3 replies, has 2 voices, and was last updated by Anonymous 14 years, 6 months ago.

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