Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • neilpovey Friend
    #160382

    Hi I have the slideshow in position topsl1 and made the width of it to be the full width of the site, but it seems that I have to have a module in position topsl2, otherwise my slideshow in position topsl1 does not show. Is there a way to disable topsl2 but for topsl1 to still be visible? Thanks.

    Neil

    John Wesley Brett Moderator
    #378124

    Hi Neil,

    [FONT=”Arial Black”]HERE’S THE FIX[/FONT]

    Open the “index.php” file in the folder “templates/ja_sanidine/” or “templates/ja_sanidineii_light/”

    FIND THE FOLLOWING BLOCK OF CODE:

    <?php if( $this->countModules('topsl1') && $this->countModules('topsl2') ) { ?>
    <!-- BEGIN: TOP SPOTLIGHT -->
    <div id="ja-topsl" class="clearfix">
    <div id="ja-topsl1">
    <jdoc:include type="modules" name="topsl1" style="raw" />
    </div>
    <div id="ja-topsl2">
    <jdoc:include type="modules" name="topsl2" style="xhtml" />
    </div>
    </div>
    <!-- END: TOP SPOTLIGHT -->
    <?php } ?>

    AND CHANGE IT TO THE FOLLOWING:

    <!-- BEGIN: TOP SPOTLIGHT -->
    <div id="ja-topsl" class="clearfix">
    <?php if( $this->countModules('topsl1') ) { ?>
    <div id="ja-topsl1">
    <jdoc:include type="modules" name="topsl1" style="raw" />
    </div>
    <?php } ?>
    <?php if ( $this->countModules('topsl2') ){ ?>
    <div id="ja-topsl2">
    <jdoc:include type="modules" name="topsl2" style="xhtml" />
    </div>
    <?php } ?>
    </div>
    <!-- END: TOP SPOTLIGHT -->

    CAUTION: Make sure you grab EVERYTHING in the top code block…especially the

    <?php } ?>
    at the end..

    That should do it.
    Let me know if you need further.
    John

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

This topic contains 2 replies, has 2 voices, and was last updated by  John Wesley Brett 13 years, 8 months ago.

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