Search component

The search component allows you to create a custom search tool and results page. By default, the search box on any webpage scans all of the pages within the Virginia Tech website. 

The custom search limits to the parameters that you set through the Google Custom Search interface. Those parameters can be limited to the site(s) you manage to give users a better search experience.

Properties window

After placing the component on the page, open its properties by clicking on the configure (wrench) icon. From here, you can adjust the settings of the search component. 

The fields in the properties window include:

Search Page Type: By default, the choice will be Google Search. However, you can select Tag search from the pull-down menu. 

Google Custom Search Engine: When a custom search engine is created, Google will provide an ID number. Place that ID in this field. Leaving it blank will default to the university search. 

Max results per page: Choose the maximum number of results per page. If left blank, the default number will be 10 results. 

Note: When using the Search component for a custom search you must create a search results page with a Search page template. This page should be at the same level in the folders as your home page and will need to be published and linked to from the site level Site Configuration properties (see image below). Site Configuration can be found if you View Properties at the site level, the level you are brought to after login, My Sites. If you cannot edit these properties, you will need to contact someone with Web Admin permissions for your site, in your department.

Search Page Site Configuration Settings
Site Configuration settings for custom search results page