Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • guap Friend
    #143038

    Hi,

    I wanted to replace the date, search and text size with a banner rotation.

    Please advise thanks! I attached the image of my header.


    1. header
    wiery Friend
    #312423

    You could try disabling the login and search and enabling the banner module in the module position that the search is in. I think it is user 4. That might work for you. Give it a try.

    guap Friend
    #312437

    Thanks for a quick reply.

    The login is disabled. If I disabled the “SEARCH” module, the user tool and the date will still be visible. How can I disable the user tool and remove the date so I can replace it with a banner.

    I check the module manager and I dont see user tool. Any advise! Thanks

    wiery Friend
    #312439

    Okay. The headtools are coded into the index.php file so you will have to edit them out of there.
    Open index.php and go to line 118. You will see the following:

    <div id="ja-headtools" class="ja-headtool">
    <div class="ja-innerpad clearfix">

    <div class="ja-day">
    <?php
    echo "<span>".date ('l')."</span>";
    echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
    ?>
    </div>

    <ul>
    <jdoc:include type="modules" name="ja-login" />
    <!--module search-->
    <?php if($this->countModules('user4')) : ?>
    <jdoc:include type="modules" name="user4" />
    <?php endif; ?>
    </ul>

    <?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?>
    <div id="ja-usertools">
    <strong>Text size</strong><?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER)); ?>
    </div>
    <?php } ?>

    </div>
    </div>

    </div>
    </div>
    <!-- END: HEADER -->

    Delete what is above and replace it with what is below:

    <div id="ja-headtools" class="ja-headtool">
    <div class="ja-innerpad clearfix">
    <?php if($this->countModules('user4')) : ?>
    <jdoc:include type="modules" name="user4" />
    <?php endif; ?>
    </div>
    </div>
    </div>
    <!-- END: HEADER -->

    Now you should be able to use the banners module in user 4 and disable the search.

    guap Friend
    #312508

    Thanks A LOT!!!!

    :D:)

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

This topic contains 5 replies, has 2 voices, and was last updated by  guap 15 years, 3 months ago.

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