Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • gmihailo Friend
    #147845

    Hi,

    I am looking to not show any frontpage articles on my homepage.

    I have disabled all frontpage articles, however it still displays an empty box.

    I have tried playing with the CSS attributes on template.css for #ja-current-content but this also alters the content of other pages.

    I just simply want to disable this and only display the virtuemart “Featured Products” module in the content area of the home page.

    Is there a variable in the code I need to change? I have looked in index.php of the template but can’t seem to find anything.

    Any help would be much appreciated.

    Thanks!

    Saguaros Moderator
    #330132

    Hello guy!

    Here is the solution for you

    Please open the file: templatesja_zeoliteindex.php and try to find codes at line 177
    [PHP]
    <!– BEGIN: CONTENT –>

    <div id=”ja-contentwrap”><div id=”ja-content”>

    <div id=”ja-current-content” class=”clearfix”>

    <jdoc:include type=”component” />

    </div>

    </div></div>

    <!– END: CONTENT –>
    [/PHP]

    Replace:

    [PHP]
    <!– BEGIN: CONTENT –>
    <?php if( !$tmpTools->isFrontPage() ) : ?>
    <div id=”ja-contentwrap”><div id=”ja-content”>

    <div id=”ja-current-content” class=”clearfix”>

    <jdoc:include type=”component” />

    </div>

    </div></div>
    <?php endif; ?>
    <!– END: CONTENT –>
    [/PHP]

    Good luck!

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

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

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