Page 1 of 1

MOD: Mark "sticky" in knowledgebase as well

Posted: Fri Dec 20, 2013 4:30 pm
by ong13
Hi

my problem was, that sticky articles are not marked in any form (version 2.5.2 of HESK). In the backend, while adding/editing articles, there is a very nice opportunity to stick articles / make them important (or unstick/unimportant).
I wanted a way to see the sticky articles in the reglar "customer" (also the "admin") view as well. I modified the code accordingly and sent it to Klemen. He suggested to post it to the forum - so: here it is.

How to install: you should be able to overwrite existing files. I uploaded a zip with correct directory structure - I hope I did not forget anything. (The article_text.pdn in the /img is created with the free paint.net (http://www.getpaint.net/) )

Download it from here: http://www.team-noehring.de/extern/hesk ... sticky.zip

It looks like this:
Image

Suggestions? Comments?

Olaf
[Edit: added demo image]

Re: MOD: Mark "sticky" in knowledgebase as well

Posted: Sat Dec 21, 2013 4:41 pm
by alcazar
As Master Klemen used to say: "Thanks for sharing" :P

Re: MOD: Mark "sticky" in knowledgebase as well

Posted: Sun Dec 22, 2013 4:02 pm
by Klemen
Klemen still says: Thanks for sharing! :wink: :lol:

Also, here is a mirror of your shared files:
http://www.hesk.com/extras/changes4sticky.zip