Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • magimax Friend
    #169552

    Hi,

    my blog category has a wrong article date as shown in the picture.

    I just added a new article but the year is “1970”!?!?

    Any help will be appreciated.

    Thanks


    1. 11102011_100741
    pavit Moderator
    #418410

    Salve

    Va modificato il formato data nel file php del theme

    pavit Moderator
    #418419

    Salve

    nel file /templates/ja_social/html/com_content/category/blog_item.php presso la riga 50

    if (!$created) $created = JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')) ?>
    va cambiato in

    if (!$created) $created = JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2')) ?>

    magimax Friend
    #419083

    Grazie

    ma ho dovuto anche cambiare la riga 54
    da


    $createYear = date('Y', strtotime($created));

    a


    $createYear = date('Y', strtotime($this->item->created));

    Questa modifica si perdera’ qualora aggiornassi il template ad una versione piu recente ?

    pavit Moderator
    #419091

    Salve

    Si perchè il file verrà sovrascritto

    bisognerebbe ricordarsi quale è il file da modificare

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

This topic contains 5 replies, has 2 voices, and was last updated by  pavit 13 years ago.

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