University at Buffalo - The State University of New York
Skip to Content
UB Web Management

Transforming UB’s digital communications through process and tools

Search Component

Expand your site's search functionality by providing separate searches of specific parts of your site (forms or policies, for example).

The Search component in its initial default state.

The Search component in its initial default state.

Using This Component

Add the component to the page. There are 3 tabs: Search, Results and Advanced.

Unlike a site-wide search, this component does not have to be placed in your site's header and provides its own search box. Search results are by default displayed on that same page, or the component can be configured to display the results link on another 'search results' page. Also this component can be configured to search just part of your site.

This search works in author but is only searching PUBLISHED content. It also will not find secure or hidden content (a page that is completely hidden from the navigation).

Some components do not 'play nicely' with the search. For example, a return that finds a phrase in a Collapsible Content Container will not load with that container open.

Search Tab

  • Results page - Specify a preferred location to house the search results. By default the results will appear on the same page as the search box, immediately below the component.
  • Search box label: Add additional instructions to appear above the search box on the results page itself. Leave blank for the default "Enter a keyword to search websites."
Search component showing the Search tab.

Search component showing the Search tab.

Results Tab

  • Site filter: Limit search results to the desired URL.
    • Here you must enter your website's actual URL, WITHOUT the http:// prefix:
      • e.g. www.buffalo.edu/president 
      • e.g. pharmacy.buffalo.edu 
    • The Site filter must be provided with a published and publicly visible page or it will not find any results.

To get complete results for your site, keep Site Filter as simple as possible. Omit http:// at the beginning. Remove any slash at the end. And for 'www.buffalo.edu/site', try the results with and without the 'www.' prefix and use whichever works best.

  • Front end: Currently there is one UBCMS-wide configuration, so leave this blank for the default setting.
  • Filtering: With filtering, search results will sometimes show indented links like “More results from ___” and a statement at the end of the results stating “we have omitted some entries very similar to the ones already displayed... .” This occurs when the search engine excludes what it believes to be very similar or equivalent pages. Choose from:
    • Allow grouping and filtering of results (default)
    • Prevent grouping and filtering of results
Search component showing the Results tab.

Search component showing the Results tab.

Advanced Tab

  • Timeout -  Specify the time allowed before the search times out in milliseconds. The default is 20000 (20 seconds).
Search component showing the Advanced tab.

Search component showing the Advanced tab.

Restrictions

  1. To get the complete results for your site, leave off as much as possible for Site Filter. Do NOT include http:// or a slash at the end. And for 'www.buffalo.edu/site', try the results without the 'www.' prefix.
  2. This search works in author but is only searching PUBLISHED content. It also will not find secure or hidden content.
  3. The Site filter must be provided with a published and publicly visible page (not a secure page, or a page that is completely hidden from the navigation).

Was this page helpful?

(Required)
(Required)
(so we can thank you or request more details)
(Required)
(buffalo.edu addresses only please)

On this page:

See an Example:

To configure a site-wide search, please read this advanced topic: Set up a Site-Wide Search.

When someone tries to load a non-existant page, they land on a '404 page'.  Custom 404 pages are possible.

Last Reviewed:

May 25, 2017