By default Joomla sorts articles by title, which may be fine in some instances, however, most of the time people prefer to have them sorted by date with latest articles at the top. Normally, to do this you would have to click on Date heading twice.

There is no built-in option to change default sort order, but this can be achieved by making a small change to one Joomla core file.

Note: As this is Joomla core file, our changes can be overwritten by Joomla updates. Always back-up a file before making any changes to it.

Open administrator/components/com_content/models/articles.php

On line 97 you will find following code:
parent::populateState('a.title', 'asc');

Change this to:
parent::populateState('a.created', 'desc');
Save changes and you are done.

Joomla 2.5

No comments

Leave your comment

In reply to Some User
Captcha Image