Search functionality is a key element of any directory website… It’s how the users are able to find the information they need.
The Predictive Keyword Search add-on can help users find information on the website even faster. With this add-on, as a user begins typing their search term into the website’s search field they will instantly be presented with potential search results.
How To Get This Add-On
Enabling the Add-On
To customize the auto-suggest on the website please follow these steps:
- Go to Developers Tools:
- Click on Autosuggest Settings:
These are the default options that we provide:
When any of the default options is being edited or created, they all have the same setting options:
Use a Class or ID: It is always recommend to select "Class".
Enable Auto-Suggest After How Many Characters: This is the number of characters a website visitor needs to enter before the auto-suggest starts to show options.
Maximum Auto-Suggest Limit: The total number allowed to be shown. If there area total of 25 possible results, but the limit is 10, only ten lines will show(1 header and 9 results), respected the order that it was set in the "Select the features the admin would like to be searched in the autosuggest rule" section. Keep in mind that the number set here includes the heading of each section.
Example: If the maximum Autosuggest limit is set to 2
It will show the Header and just one listing.
Auto-Suggest Rule Settings
Enable Listings: This decides whether or not listings will appear in the auto-suggest. The same setting is available for all features and categories as well.
Limit: The amount of listings that will display so long as the max limit has not already been reached.
Photo: This allows the admin to decide whether or not a photo will display in the auto-suggest. We suggest turning this on for Listings and all features.
Link: Turning this on will automatically take the visitor to the next page. Turning this off will auto-fill the box with that entry, but still allow the visitor to add a location. We suggest setting categories to "no" and the rest "yes".
Show Header: The "Header" is the main title for that section. The following image shows three features that have "Show Header" as "Yes".
Location: If "Yes" is selected, the location for that member or data post will show in the auto-suggest. In the image above, "Listings" have this set to "yes".
Details: This will add a second line of information in the auto-suggest. The details vary on the item selected:
- Listing Details = The top-level category
- Sub-Categories Details = The top-level category. If it is a sub-sub, it will show the parent category (sub-level)
- All Feature Details = They will show the name of the Feature. Some customers prefer to use this instead of the "Show Header" option.
The highlighted modules are the ones active on the rule that's being edited:
This tool will reset all the settings to their default version and delete any updates the admin have completed so far.
To learn more about this add-on, please read this article: How To Edit Keyword Search Autosuggest Settings For Member Searches