Quick Search and Advanced Search
The Search aspect of Business Directory is broken into two parts:
- The Quick Search Field, located at the top of most pages in the directory with a Search button
- The Advanced Search Page, which is opened when the user clicks on “Advanced Search” from those same pages
Quick Search Field vs. Advanced Search
When the user enters a keyword into the Quick Search Field and clicks search, Business Directory will attempt to match that keyword against whatever fields are setup under Directory Admin->Manage Options->General. By default, the search will happen looking at the Title and Description fields of your listings. Any matches that are returned will display when you click search.
Quick Search also has optional fields that can search for locations–either City/State or ZIP/Postal code. These options are available if you have the ZIP Search and Regions modules installed.
Quick Search looks like this at the top of your directory:
Yours may look slightly different, depending on your settings. For example, if you don’t have Regions installed, you won’t see the “Located at City,State” field.
By contrast, the Advanced Search page has more options and when you enter data into any of the fields, the data will only be matched against that field. For example, if you enter a value in the Short Description field, no other field will be searched for that value. If you enter a value in Short Description and Title, the search will be for all listings that match the value in Short Description AND the value in Title.
Advanced Search is designed to allow finer grained control over what you search for. The Quick Search field is a quick-and-dirty search mechanism to find the most common data in the two most heavily used fields. We avoid searching all fields for these keywords, as this would have a negative performance impact on directories with large listing counts.
Advanced Search from the demo can be accessed here and looks like this:
Listings that are “featured” will show up in the list of results at the top and with a yellow highlight color (by default). This can be changed using custom CSS with BD, if desired.
Fields that have the option checked “Include this field in the search form?” are fields that will show up in the search form here. Fields marked “In Excerpt” or “In Listing” have no effect on what displays on this page.
Note for users of both the Regions Module and the ZIP Search Module:
You can choose to enable the Regions Module on the Quick Search menu, which adds the Located at <City, State> search field OR you can choose to enable the ZIP Search Module on the Quick Search menu, which adds a ZIP code field to the Quick Search.
Here is what the ZIP Search Module looks like when it is enabled on the Quick Search Menu:
Here is what the Regions Module looks like when it is enabled on the Quick Search Menu:
If you have enabled both modules in the Quick Search bar, then the Regions Module will take precedence. Only one of those options can be added to the Quick Search bar, so you must make a choice between the two modules here.