test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • infomathmods Friend
    #147051

    How to change the order in which the latest articles are listed?
    I’d like to choose “recenlty updated first” as in the default joomla module. Is it possible to do that?

    Anonymous Moderator
    #327379

    Hi there

    Please open modulesmod_jabulletinhelper.php file, at about line 96, find following code section:


    // Ordering
    switch ($params->get ( 'ordering' )) {
    case 'm_dsc' :
    $ordering = 'a.modified DESC, a.created DESC';
    break;
    case 'c_dsc' :
    default :
    $ordering = 'a.created DESC';
    break;
    }

    and change to:


    // Ordering
    $ordering = 'a.modified DESC, a.created DESC';

    – in administrator, edit jabulletin module, choose Latest for Type.

    Hope it helps.

    infomathmods Friend
    #327421

    <em>@JA Developer 157863 wrote:</em><blockquote>Hi there

    Please open modulesmod_jabulletinhelper.php file, at about line 96, find following code section:


    // Ordering
    switch ($params->get ( 'ordering' )) {
    case 'm_dsc' :
    $ordering = 'a.modified DESC, a.created DESC';
    break;
    case 'c_dsc' :
    default :
    $ordering = 'a.created DESC';
    break;
    }

    and change to:


    // Ordering
    $ordering = 'a.modified DESC, a.created DESC';

    – in administrator, edit jabulletin module, choose Latest for Type.

    Hope it helps.</blockquote>
    Thanks, it works!

    walterjr Friend
    #383349

    great, it works for me too 😀
    Thank’s a lot

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

This topic contains 4 replies, has 3 voices, and was last updated by  walterjr 13 years, 9 months ago.

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