Skip to main content

How can users search a specific section of my site?

You can add a search box to enable people to search a particular site or section of a site.

For example, we have a Search FAQs box at the right-hand side of all pages in the SiteBuilder FAQs section. This search only returns results from pages under:

/services/its/servicessupport/web/sitebuilder2/faqs

The search does not return results from the rest of the IT Services website or SiteBuilder section. You see matching results as you type your query (also known as ‘live search’).

To add a live search box to your page:

  1. Browse to the page where you want to add the search box.
  2. Go to Edit > Edit centre content or Edit right content, depending on where you want to place the search box.
  3. Position your cursor where you want to insert the search box.
  4. Go to Insert a… > Search box.
  5. In the Insert search box pop-up, enter the URL of the uppermost page (without the http://www2.warwick.ac.uk) of the section you want to make searchable. For example – for the whole of the IT Services site:

    /services/its
  6. Optionally, enter a label e.g. Search IT Services. If you don't specify a label, Search for: is the default.
    Insert search box
  7. Select the Insert button.
  8. You'll see code similar to the following in your page:

    [livesearch label='Search IT Services']/services/its[/livesearch]
  9. Once you've finished editing your page, select the Publish button.

Related FAQs

Support

Telephone 73737
Email webteam at warwick dot ac dot uk
How to report a problem