Search
JoomFAQs has two kinds of search: a search box on FAQ pages, set per category, and an instant search in the FAQ module. This page is about the FAQ page search.
Turn it on
- Open Components > JoomFAQS > Categories and open the category.
- On the Search Settings tab, set Enable Search to Yes.
- Set the other options and click Save & Close.
| Option | Default | What it does |
|---|---|---|
| Enable Search | No | Shows the search box above the questions |
| Search Scope | Questions Only | No effect in 6.1.12. The search always covers this category only. |
| Search Placeholder Text | empty | The grey hint in the empty box. Empty shows "Search FAQs...". |
| Show Results Count | Yes | Shows "3 results found for 'password'" above the results |
| Show Clear Button | Yes | Shows a button that empties the search and lists all questions again |
Each category has its own setting. A subcategory does not take the setting of its parent.
How it searches
The visitor types a word and presses Enter or the search button. The page reloads with the questions that match. JoomFAQs looks for the text in:
- the question,
- the answer,
- the meta keywords and the meta description of the question.
It finds parts of words, so "pass" finds "password". Only published questions of the current category are searched, not those of its subcategories. When nothing matches, the message "No results found for '...'" shows.
Other search options
- The FAQ module filters its questions instantly while the visitor types, and highlights the matches.
- The Smart Search plugin is meant to add questions to Joomla's site search. In 6.1.12 it does not work.