Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • artmaster Friend
    #176167

    Hello,
    sorry for my bad english.

    I’m Using Joomla 2.5.4 and JA News Pro Module versione 2.5.1 but i cant solve a problem with date (i follow some advice founded in forum-but no luck).

    When i publish an article the module put as date MODIFIED DATE instead of Published date.

    http://www.joomlart.com/forums/topic/janewspro-module-created-date-instead-modified/

    Any help?

    Tnx in advance Luca

    Blaine Friend
    #448643

    I’m confused. Does this post not help you?

    artmaster Friend
    #448714

    Tnx for reply Blaine,
    the code of file content.php (Joomla 2.5) is different.

    Tnx to custom service solved:

    Opeo the file of modulesmod_janewsprohelpersadaptercontent.php looking for this code
    if ($enabletimestamp)
    $row->created = $helper->generatTimeStamp($row->modified);
    else
    $row->created = JHTML::_('date', $row->modified);

    and change it to
    if ($enabletimestamp)
    $row->created = $helper->generatTimeStamp($row->created);
    else
    $row->created = JHTML::_('date', $row->created);

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

This topic contains 3 replies, has 2 voices, and was last updated by  artmaster 12 years, 7 months ago.

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