-
AuthorPosts
-
June 7, 2011 at 12:09 pm #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 Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
June 7, 2011 at 12:48 pm #395097Hello ,
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.
June 7, 2011 at 1:06 pm #395104Hi 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
June 7, 2011 at 1:14 pm #395105or -should I replace the text already in the file – or put this above or below?
Thanks
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
June 7, 2011 at 1:18 pm #395107Hello,
Those code you don’t want to show comment them. Otherwise you might get confused.
June 9, 2011 at 2:59 pm #395533Hi,
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 Friendmayuri_g
- Join date:
- May 2011
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 5
- Thanked:
- 10 times in 11 posts
June 10, 2011 at 8:26 am #395685Hi,
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; ?>
-
AuthorPosts
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