How to Perform a Local Search?

You are not allowed to make any changes to the search function integrated into the UiO banner. If you want a local search function for your unit, you can create your own search field for a local search on your page. Below you will find an example. The emphasized text must be changed to fit your requirements. Comments to the code are written in red.

Example

Search only for pages within http://www.sv.uio.no/.

Code:

<FORM ACTION="http://www.uio.no/sok">

<INPUT NAME="qt" SIZE="30">
<INPUT TYPE="hidden" NAME="type" VALUE="query">
<INPUT TYPE="hidden" NAME="side" VALUE="uio">
<INPUT TYPE="hidden" NAME="rq"   VALUE="4">
<!-- search restriction -->
<INPUT TYPE="hidden" NAME="qp"   VALUE="url:www.sv.uio.no/">
<!-- Heading of the result page -->
<INPUT TYPE="hidden" NAME="hl"   VALUE="Det samfunnsvitenskapelige fakultet">

<!-- link for the heading of the result page -->
<INPUT TYPE="hidden" NAME="hlu" VALUE="http://www.sv.uio.no/"> <!-- text on the search button --> <INPUT TYPE="SUBMIT" VALUE="Search within The Faculty of Social Sciences' web
pages
"> </FORM>
Published Mar. 19, 2009 1:56 PM - Last modified Nov. 2, 2010 1:37 PM