CLF search utility bar

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.

source: https://wiki.ubc.ca/Documentation:UBC_Content_Management_System/CLF_Theme/How_to_set_up_search_on_the_CLF_utility_bar

Leave a Reply

You must be logged in to post a comment.