User Tools

Site Tools


This is an old revision of the document!

PINES Search Box Script

To insert a PINES search box on your web page, use the script below in the HTML body where you want the box to appear.

Be sure to replace the number library id (locg) in the code below with your library's id number if you want it to default to your branch or system (see library contact info to get library system or branch ids).

<form action="" method="get"> <input type="text" name="query" placeholder="Enter Search Words" /> <input type="hidden" name="qtype" value="keyword" /> <input type="hidden" name="locg" value="1" /> <input type="submit" value="Search"> </form>

If you wish to add a search that goes to the Kids' Catalog, you can use this code:

<form action=“” method=“get”>

<input type=“text” name=“query” placeholder=“Enter Search Words” />

<input type=“hidden” name=“qtype” value=“keyword” />

<input type=“hidden” name=“locg” value=“1” />

<input type=“submit” value=“Search”>


admin/settings/searchbox.1553878369.txt.gz · Last modified: 2019/03/29 12:52 by tmccanna