Loading...
Changes Saved.
Error Occurred!

KnowledgeBase

Searching in article titles instead of contents

KnowledgeBuilder currently has a restriction to search only in article contents for the phrase a public user has entered. Since there is a lot of SupportTrio/KB users that keep the matching string in the article title, we have provided our distribution with an additional file that will let you search in content instead of in title.

The original search file is /kb/includes/KBSearchContext.class.php . The new file we added is /kb/includes/KBSearchContext.title.class.php

In order to use the search in title feature, please rename the title file into KBSearchContext.class.php.

UPDATE
We have also added a file /kb/includes/KBSearchContext.both.class.php that will search both title and a content of articles. However, in order to do this, you will have to modify your faqarticles (or tt_faqarticles, if in SupportTrio) table in order to: 1) remove the old FULLTEXT index from `title` field; 2) add a new FULLTEXT index that uses both `title` and `contents` fields.


SupportTrio can also use this type of search in admin panel. In order to achieve this, please rename /kb/includes/KBArticle.both.class.php into /kb/includes/KBArticle.class.php



Related Articles