Bunun için önce;
components/com_content/content.html.php dosyasını açıyoruz.
Bu dosyadan
Alıntı
/**
* Writes Title
*/
function Title( &$row, &$params, &$access ) {
if ( $params->get( 'item_title' ) ) {
if ( $params->get( 'link_titles' ) && $row->link_on != '' ) {
?>
<td class="contentheading<?php echo $params->get( 'pageclass_sfx' ); ?>" width="100%
">
<a href="/<?php echo $row->link_on;?>" class="contentpagetitle<?php echo $params-
>get( 'pageclass_sfx' ); ?>">
<?php echo $row->title;?></a>
bu kodu buluyoruz ve hemen altına şu kodu ekliyoruz
Alıntı
<?php
$newlink = '2'; // yeni saydığınız içeriğin kaç günlük olduğu
$isnew = ((strtotime(date("Y-m-d H:i:s"))-strtotime($row->created)) < ($newlink*86400)) ? '<img src="'.$mosConfig_live_site.'/images/stories/yeni.png" alt="Yeni" />' : '';
echo $isnew;
?>
En son olarak ta images/stories/ dosyası içine "yeni.png" adında bir resim dosyası atıyoruz.
Kaynak