Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Andrew Winkler Friend
    #758439

    I have positioned a Google Adwords leaderboard advertisement in ‘whatsnew’ module position. To do so, I’ve unpublished the modules in header-1 and whatsnew position. However the little date box remains is still being displayed, although it gets covered by the leaderboard ad. How do I prevent the template from disabling the datebox altogether so that it doesn’t unnecessary slow down the pageview?

    pavit Moderator
    #758660

    Hi

    You can also remove the date block

    edit this file templatesja_teline_vtplsblocksheader.php and find the date block

    <div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    </div>

    and comment it in this way

    <!--<div class="col calendar">
    <div class="col-inner">
    <span class="number date"><?php echo date('d') ?></span>
    <div class="text">
    <span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
    </div>
    </div>
    </div>-->

    Here the result

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

This topic contains 1 reply, has 2 voices, and was last updated by  Andrew Winkler 9 years ago.

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