Setting up the web-widget
Following are the optional parameters which can be passed into kbse_user_info variable:
icon_text - text of the widget icon. Default - "help",
head_title - header title of the expanded widget. By default, it is your Company name + "Support"
category_id - id of the category. Articles will be filtered by a given category
page_name - the name of the page importing the widget. For example, "sign up". It can be used to get specific article suggestions or statistics relevant to current page_name.
sort_mode - how articles must be sorted. Default value - "latest":
- category_popular - articles from the category <category_id> sorted by popularity
- category_latest - articles from the category <category_id> starting from the latest
- category_oldest - articles from the category <category_id> starting from the oldest
- page_relevant - the most relevant articles by <page_name>
- popular - articles sorted by popularity
- latest - from latest to oldest
- oldest - from oldest to latest