How to create a search module in Joomla

Joomla New CMS series

How to create a search module in Joomla

This tutorial assumes you are already logged in to your Joomla admin panel

Adding a search module will allow users to search for content on your site

1) Click Extensions

2) Then Module Manager

Scroll right

3) Click New

4) Select Search

Scroll right

5) Click Next

6) Enter a Title

If Show Title is set to Yes, the module name will be displayed on the front-end

7) Choose the position where the module should be displayed on the page

Scroll down

Here, you can set the menu in which this module will display

Scroll up and right

8) Enter the suffix for the CSS class of this module

In this example, the CSS class name of this module would be .module-search

9) Choose whether a search button should be displayed

If Search Button is set to No, the search will start after the user presses the enter key

10) Choose whether the search button will be displayed as an image

Note that in order for the search button to show up, your image must be named searchButton.gif and be uploaded to images/M_images

11) Click Advanced Parameters

This is where you can set your caching options

12) Click Save

The search form will now show up on the front-end. Let’s go to our site

The search module shows up here

That’s it! You now know how to create a search module in Joomla

Leave a Reply