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).
Articles not displaying in order specified by administrator
Moderator: mkoch227
Articles not displaying in order specified by administrator
Last edited by srumberg on Sun Feb 10, 2013 9:54 am, edited 2 times in total.
Re: Articles not displaying in order specified by administra
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:
To ignore the views and output the articles according to the specified display order, use this:
Code: Select all
ORDER BY `sticky` DESC, `views` DESC, `art_order`
Code: Select all
ORDER BY `sticky` DESC, `art_order`
Re: Articles not displaying in order specified by administra
Also note that you can make articles "Sticky" - these will always show on top, regardless of views.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools