(Advanced) Search page
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.