AddSearch is an instant search for websites that gives results immediately and is very easy to install. Implementing the AddSearch instant search onto your Joomla site can be done by following these instructions.
How to Install AddSearch onto a Joomla Site
First, find your Site key by following these instructions:
- Login to your AddSearch Account
- Go to Keys and installation under Setup
- Copy your site key under Your Site Key
Use our Search Designer tool to configure the widget according to your needs and copy the installation script. Then paste the script into your website template where you would like the AddSearch field to appear. Here is an example of what the script snippet might look like:
<script>
window.addsearch_settings = {
"asw_01": {
"show_search_suggestions": false,
"search_suggestion_position": "left",
"default_sortby": "relevance",
"display_date": false,
"display_meta_description": false,
"display_result_image": true,
"link_target": "_self",
"hide_logo": false,
"direction": "ltr",
"analytics_enabled": false,
"automatic_filter_results_by_site_language": false
}
}
</script>
<script src="https://cdn.addsearch.com/v5/addsearch-ui.min.js?key=xxxxxx&id=asw_01"></script>
Apply the Script to any Page on Joomla Admin
- Login to your Joomla Admin
- Go to the “Compenents” and click on the page builder extension you use for Joomla. In this example we are using Quix
- Click on “Edit” on the page which you want to add the script
- Scroll down and click on “Add Section” and click on “Add Element” button (+)
- Select the “Raw HTML” element
- Paste the AddSearch script in text area and click save
- All done you should see the search bar on your page