Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • chanton Friend
    #132546

    module in top1 and top2 must be enabled together.

    how to show top1 module only?

    Sherlock Friend
    #267060

    Hi chanton !
    you can do it following way below :
    Open index.php file in templates/ja_olivine folder , find following code section at about line 119 :


    <?php if($this->countModules('topsl1') && $this->countModules('topsl2')) : ?>

    change to :


    <?php if($this->countModules('topsl1') || $this->countModules('topsl2')) : ?>

    chanton Friend
    #267085

    it works, but top1 did not expend to the top2 space.

    Menalto Friend
    #267099

    Can you post your live site url?

    Sherlock Friend
    #267100

    Hi chanton !
    you open index.php file in templates/ja_olivine folder , find following code section ata bour line 122 :


    <!-- BEGIN: TOPSL SPOTLIGHT 1 -->
    <div id="ja-topsl1">
    <jdoc:include type="modules" name="topsl1" style="raw" />
    </div>
    <!-- END: TOPSL SPOTLIGHT 1 -->
    <!-- BEGIN: TOPSL SPOTLIGHT 2 -->
    <div id="ja-topsl2">
    <jdoc:include type="modules" name="topsl2" style="rounded" />
    </div>
    <!-- END: TOPSL SPOTLIGHT 2 -->

    change to :


    <?php if($this->countModules('topsl1')) { ?>
    <!-- BEGIN: TOPSL SPOTLIGHT 1 -->
    <div id="ja-topsl1">
    <jdoc:include type="modules" name="topsl1" style="raw" />
    </div>
    <!-- END: TOPSL SPOTLIGHT 1 -->
    <?php } ?>
    <?php if($this->countModules('topsl2')) { ?>
    <!-- BEGIN: TOPSL SPOTLIGHT 2 -->
    <div id="ja-topsl2">
    <jdoc:include type="modules" name="topsl2" style="rounded" />
    </div>
    <!-- END: TOPSL SPOTLIGHT 2 -->
    <?php } ?>

    then , open template.css file in templates/ja_olivine/css folder , find following code section at about line 978 :


    #ja-topsl1 {
    float:left;
    margin-bottom:10px;
    width:74.9%;
    }

    change to :


    #ja-topsl1 {
    float:left;
    margin-bottom:10px;
    }

    you go to admin >> extensions >> module manager >> mod_jaslideshow module
    on right panel change width from 690px to 945px
    Note : image for ja slide must have width equal with width in admin config.

    damian Friend
    #267146

    Not work. I try to disable Quotes of The Day and slideshow disappear

    Sherlock Friend
    #267247

    Hi damian !
    Please send url of your site !

    damian Friend
    #267264

    test on localhost

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

This topic contains 8 replies, has 4 voices, and was last updated by  damian 16 years, 2 months ago.

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