Documentation:UBC Content Management System/CLF Theme/How to set up search on the CLF utility bar

From UBC Wiki
Jump to: navigation, search

The UBC Common Look and Feel (CLF) Theme includes a utility toolbar at its very top. On the right side is a search box, which by default searches all of UBC. However, this search box can be configured to search only a subdomain. An example use case is when you want the search result to include only pages from your specific website.

This can easily be configured under "Dashboard > Appearance > Theme Options." When you are at the theme options page, scroll down and find the "Site Specific Search" section. In the text field, you can specify which domain you'd like your search results to come from.

Generally, you would want to put your domain name here. Let's say your website is at "website.ubc.ca" - that's what you should put in the text field.

If your website has multiple subdomains, (e.g. subdomain1.website.ubc.ca or subdomain2.website.ubc.ca) specifying "website.ubc.ca" will include results from your subdomains as well.

See Also

Site Specific Search