Page 1 of 1

Articles not displaying in order specified by administrator

Posted: Fri Feb 08, 2013 11:43 pm
by srumberg
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: article order

Write your message below:

In the Knowledgebase admin panel, Articles show in the specified order (i.e. 1,2, 3, 4). In the user view, however, they display in a different order (2, 4, 1, 3).

Re: Articles not displaying in order specified by administra

Posted: Sat Feb 09, 2013 12:34 am
by srumberg
In knowledgebase.php, line 457, the order is affected by the number of views. The more views an article has, the higher in the list of output:

Code: Select all

ORDER BY `sticky` DESC, `views` DESC, `art_order`
To ignore the views and output the articles according to the specified display order, use this:

Code: Select all

ORDER BY `sticky` DESC, `art_order`

Re: Articles not displaying in order specified by administra

Posted: Sun Feb 17, 2013 9:18 am
by Klemen
Also note that you can make articles "Sticky" - these will always show on top, regardless of views.