Skip to content

Knowledge base search module

JS Support Ticket Knowledge Base Search puts a search box for your knowledge base on any page of the site. A customer who finds the answer there doesn’t need to open a ticket.

The box searches exactly as the search on the knowledge base page does, and shows the results on that page.

The knowledge base search card in the site’s right sidebar: a blue “Search the knowledge base” title bar, a search box reading “What do you need help with?”, a Search button and a “Browse all articles” link.

The component adds one copy of this module when it is installed, unpublished and with no position.

  1. Go to Content → Site Modules and open JS Support Ticket Knowledge Base Search. (To make another copy, click New and choose JS Support Ticket Knowledge Base Search from the module types.)

  2. On the Module tab, fill in the settings below.

  3. Choose a Position, set Status to Published, and on the Menu Assignment tab choose the pages it should appear on.

  4. Click Save & Close.

Joomla’s Select a Module Type screen filtered on “JS Support Ticket”, showing the Knowledge Base Search and Submit A Ticket module types.

Setting Default What it does
Title Search the knowledge base The text in the card’s title bar. It is also the search box’s label for screen readers.
Show Title Show Shows or hides the card’s title bar.
Title Background Color #2563EB The colour of the title bar.
Title Color #FFFFFF The colour of the title text.
Placeholder (empty) The hint inside the empty search box. Left empty, it reads “What do you need help with?”
Button Label (empty) The button text. Left empty, it reads “Search”.
Show Browse Link Show Adds a Browse all articles link under the box, to the knowledge base page.
ItemID (empty) The ID of the menu item the search and the link should use. See below.
Module Class Suffix (empty) Joomla’s usual extra CSS class for the card.

The two colour settings take a hex colour such as #2563EB or #fff. Anything else is ignored and the default is used.

The module’s edit screen in Joomla, Module tab, showing Title, Show Title, Title Background Color, Title Color, Placeholder, Button Label, Show Browse Link and ItemID.

The search opens the knowledge base page inside a Joomla menu item, which decides the page’s template, modules and address. Enter the ID of the menu item that holds your knowledge base or help desk (you’ll find it in the ID column under Menus). Left empty, the search uses whatever menu item the visitor is on at the time.

The words typed are sent to the knowledge base page, which lists:

  • the active articles that match them, in the title or the article text, and
  • the knowledge base categories whose name contains them.

Disabled articles are never shown. The words stay in the knowledge base page’s own search box, so the customer can change them and search again there.

The card uses the same look as the help desk itself. Apart from the title bar, which has its own colour settings, it takes its colours from System → Themes in the component.

For results in the site’s own search box as well, see Smart Search.