Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • gholt Friend
    #164930

    Hi,

    How would I go about removal of the date if I dont want it to be shown?

    At the moment I have renamed the topbar.php so that it doesnt show up but I wonder if this is the correct way to do this??

    Thanks

    pritam Friend
    #395097

    Hello ,

    To Removal of the Date JA Teline IV

    You can also do comment to topbar.php like this :-

    <!–<p class=”ja-day clearfix”>

    <?php

    echo “<span class=”day”>”.date (‘D’).”</span>”;

    echo “<span class=”month”>”.date (‘m’).”</span>”;

    echo “<span class=”date”>”.date (‘d’).”</span>”;

    echo “<span class=”year”>”.date (‘Y’).”</span>”;

    ?>

    </p>–>

    Clean JAT3 Cache and reload the page see the changes.

    gholt Friend
    #395104

    Hi Pitam

    thanks for the reply

    I replaced the text already in there with your text and that worked – is there a difference in commenting or renaming the topbar.php

    gholt Friend
    #395105

    or -should I replace the text already in the file – or put this above or below?

    Thanks

    pritam Friend
    #395107

    Hello,

    Those code you don’t want to show comment them. Otherwise you might get confused.

    gholt Friend
    #395533

    Hi,

    Sorry have another question if you coupld help please – I have addded the <!– below but unsure where to put the end of the comment as I want to keep the search box but remove the “last updated” information. – Thanks

    <!–<p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p> <?php if($this->countModules(‘headlines’)) : ?> <jdoc:include type=”modules” name=”headlines” /> <?php endif; ?> <?php if($this->countModules(‘search’)) : ?> <div id=”ja-search”> <jdoc:include type=”modules” name=”search” /> </div> <?php endif; ?>

    mayuri_g Friend
    #395685

    Hi,

    you want to display only search box, so end the comment before search box code.

    Replace the code :

    <!–<p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p> <?php if($this->countModules(‘headlines’)) : ?> <jdoc:include type=”modules” name=”headlines” /> <?php endif; ?> <?php if($this->countModules(‘search’)) : ?> <div id=”ja-search”> <jdoc:include type=”modules” name=”search” /> </div> <?php endif; ?>

    with this code :

    <!–<p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p><?php if($this->countModules(‘headlines’)) : ?> <jdoc:include type=”modules” name=”headlines” /> <?php endif; ?>–> <?php if($this->countModules(‘search’)) : ?> <div id=”ja-search”> <jdoc:include type=”modules” name=”search” /> </div> <?php endif; ?>

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

This topic contains 7 replies, has 3 voices, and was last updated by  mayuri_g 13 years, 5 months ago.

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