• Jimako
    Main Admin
    Posts: 359
    Joined: 1 year ago
      
    For latest news [without changing core code]

    copy latestnews_menu.php file and rename it f.e. latestnews2_menu.php

    add (or any needed order)
    $parms['order'] = ' news_title ASC ';

    above line:
    $treeparm = array();

    and use a new menu in the Menu Manager.

    For news grid - core code change is needed

    - open news.php in news plugin, find render_newsgrid() method and change line
    $parms['order'] = 'n.news_datestamp DESC';

    there is issue #4092 about this

    For all news - core code change is needed

    open news.php in news plugin and change line

    private $order = 'news_datestamp';

    It should be enough.

    Be warned. Any changes to core code are not recommended and they will be overridden with the next update.