Page 1 of 1

Sticky Knowledge Base Categories

Posted: Thu Jan 24, 2013 3:45 pm
by kenonix
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:

Write your message below:

I want to use the knowledge base to prepare a reference manual (among other things) for my software application. The manual has fixed chapters organized in a hierarchy that correspond to my menuing system. I'm planning to use knowledge base categories for each menu and submenu with articles for each executable option. Articles within a category can be made sticky which allows me to fix the sequence of the articles to match each menu. I want the categories to behave in a similar fashion so that I can control the sequence of each subcategory within it's parent. Is there a way to get HESK to do this without software mods? Does my plan to use categories and articles as described above make sense or is there a better way for me to use HESK to setup the reference manual?

To further support my objective for the reference manual I also want the knowledge base structure to be visible for the end-user in the same way it is for the admin user. This would allow categories to be expanded/collapsed within a single page to simplify navigation for the end-user to get to the topic they want. That structure would match my menuing system which my end-users are familiar with. Any thoughts on this for a future enhancement?

Re: Sticky Knowledge Base Categories

Posted: Thu Jan 24, 2013 5:46 pm
by Klemen
I haven't seen HESK being used this way yet so I'm not sure how it will work out, but of course feel free to try.

HESK currently doesn't support reordering knowledgebase categories.

However, if you know your way around phpMyAdmin you should be able to manually do that - the database table structure way designed to support this feature, it just wasn't implemented yet.

If you look at the structure of "hesk_kb_categories" table you will see column "cat_order" - the value of cat_order determines the order of categories shown. Categories will lower values will be shown first.

The tree-menu structure works very well for KB with many categories, but may be too much for simple KB with just a few categories. I will consider adding it as an option in the future though.

Re: Sticky Knowledge Base Categories

Posted: Thu Jan 24, 2013 6:36 pm
by kenonix
Thanks for your prompt reply. That appears to give me what I need. I will only have to set the category order value once so I'm fine doing this directly from the DB. I'll give it a try and let you know how it goes.

Re: Sticky Knowledge Base Categories

Posted: Thu Jan 24, 2013 7:51 pm
by kenonix
I used phpMyAdmin as suggested, changed the cat_order values and that put things in the order I need.

Thanks again.

Re: Sticky Knowledge Base Categories

Posted: Thu Jan 24, 2013 8:31 pm
by kenonix
Klemen:

Is there anything in HESK that will change the cat_order values? If so can you tell me how to suppress this?

Thanks,

Ken

Re: Sticky Knowledge Base Categories

Posted: Sat Jan 26, 2013 2:50 pm
by Klemen
No, cat_order value is only added to new KB categories created inside function new_category()

What kind of problems are you experiencing?

Re: Sticky Knowledge Base Categories

Posted: Mon Jan 28, 2013 1:47 pm
by kenonix
Not experienceing any problems. Just wanted to be sure how it would behave once I got all the cat_order values the way I wanted them. I'm confident now it will meet my needs.

Thanks.