Skip to main content

Create a Category-Only Coding Solutions Search in Joomla

Use Joomla Smart Search to place a search box on the Coding Solutions hub that returns only articles from that section.

Recommended approach

Combine a Smart Search filter, a dedicated search-results menu item, and a Smart Search module embedded on the hub page.

  1. A Smart Search filter restricts the index to Coding Solutions articles.
  2. A Smart Search menu item controls the results page and its URL.
  3. A Smart Search module provides the search box on the hub.

1. Prepare the category

Place all relevant articles in Content → Categories → Coding Solutions.

If the library later uses subcategories—such as CSV Tools, SQL, APIs, HTML, or Joomla—include every desired subcategory in the Smart Search filter.

2. Enable and build the Smart Search index

  1. Go to System → Manage → Plugins.
  2. Confirm that Finder – Content is enabled.
  3. Go to Components → Smart Search → Index.
  4. Run the initial index if one has not already been created.

Joomla normally updates the index as articles are saved. Run the indexer again after a large batch import or major content reorganization.

3. Create the Coding Solutions filter

Go to Components → Smart Search → Filters → New and use the following settings:

SettingRecommended value
TitleCoding Solutions Articles
TypeArticles
CategoryCoding Solutions
SubcategoriesSelect each subcategory that should appear in results
StatusPublished

Selecting both Articles and Coding Solutions prevents other indexed content types from entering the results.

4. Create a dedicated results page

Create a menu item in a hidden menu: Menus → Hidden Menu → New.

SettingRecommended value
Menu Item TypeSmart Search → Search
TitleSearch Coding Solutions
Aliassearch-coding-solutions
Search FilterCoding Solutions Articles
Advanced SearchHide
Date FiltersHide
Result DescriptionShow
Description Length180–220 characters
Result URLHide
PaginationShow
Allow Empty SearchNo

A hidden menu provides a stable route and page configuration without adding another visible navigation link.

5. Create the Smart Search module

Go to System → Manage → Site Modules → New → Smart Search.

SettingRecommended value
TitleSearch Coding Solutions
Show TitleHide if the hub article supplies the heading
Search FilterCoding Solutions Articles
Search SuggestionsShow
Advanced SearchHide
Positioncoding-solutions-search
Menu AssignmentOnly the Coding Solutions hub page
StatusPublished

What coding problem are you trying to solve?

Search our growing collection of practical tools, examples, and guides.

6. Embed the module in the hub article

Confirm that the Content – Load Modules plugin is enabled. Add the following immediately below the introductory callout:

Important distinction

The module assignment controls where the search box appears. The Smart Search filter controls what appears in the results. Apply the Coding Solutions Articles filter to both the module and the results menu item.

Official Joomla references