You are here
A simple search form box can easily be added to perform an All Headings or Title search of your site-specific Illume!
|Watch a quick video on how to add a search widget to your website. [No sound]||Watch Video [3m30s ; MP4]|
Want to add an Illume search widget to your website?
- Search Widget Location: Check that you can add an HTML search form to your website including the form, button and input tags. For example, if using Drupal you may need to add these tags as "Advanced Content Filter" exceptions within CKEditor.
Note: Search widgets placed on LibGuide pages may not always work correctly due to conflicting widgets - try to embed only one widget per LibGuide!
- Search Widget Code Example: Add the snippet of example code to your website. Download the code example here [TXT] Updated October 2019!
- Update Labels or Text: If desired, update the HTML text and labels to display different text or tips. For example change "Search Illume Catalogue" to "Search for Interlibrary Loans". Or change your button display text to say "Search" instead of "Submit".
- Update Search Index: The code example above currently performs an All Headings "all_headings" search of Illume against your default guest patron Search Resources/Targets. If you'd like to search by Title instead change "all_headings" to "title". More search options and codes, such as "author", "subject", and "isbn" available in our OpenURL Search guide [PDF] from our Guides page.
- Update SHAREit LID Code (mandatory): Update the code to include your site-specific SHAREit LID code. For example Kwantlen Polytechnic University would replace value="ZZZZ" with "BSKC".
- Test your results: Publish your search form and test the results. If you receive a message saying "An error has occurred processing your request; the most likely cause is a bad LID." double-check that your site-specific LID library code is entered correctly. Errors can also occur from line breaks or spaces between the HTML tags in your form. After editing your Form we recommend you clear your browser cookies & cache or test again later as SHAREit V6 may cache recent errors. Contact us for assistance!
Note: You may wish to change or add additional HTML in order to format your form further. For example our code snippet opens the search in a new browser window with target="_blank" and you may want to remove that to open search results in the same window.
- Please let us know if you have any feedback or suggestions for additional Search Widget options. We'd love to see what you're doing to make Illume more accessible!
Please let us know if you encounter any questions/concerns when adding a Search Widget to your websites.