[Wactclc-primo] [External] Primo VE Widgets in LibGuides

Herman, Amy aherman at olympic.edu
Fri Jan 25 09:19:31 PST 2019


HI Elena,
This is our widget code in libguides. We are on VE.

amy



<script type="text/javascript">
function searchPrimo()
{
document.getElementById("primoQuery").value = "any,contains," + document.getElementById("primoQueryTemp").value;
document.forms["searchForm"].submit();
}
    function searchKeyPress(e)
    {
        if (typeof e == 'undefined' && window.event) { e = window.event; }
        if (e.keyCode == 13)
        {
            document.getElementById('go').click();
        }
    }
</script>

<form name="searchForm" role="search" method="get" action="https://sbctc-olympic.primo.exlibrisgroup.com/discovery/search" enctype="application/x-www-form-urlencoded; charset=utf-8" id="simple" target="_self">
<label>Search for :
<input type="text" size="25" id="primoQueryTemp" value=" " name="queryTemp" onkeypress="searchKeyPress(event);" /></label>
<input name="institution" type="hidden" value="01STATEWA_OLYMPIC" />
<input name="vid" type="hidden" value="01STATEWA_OLYMPIC:OLYMPIC" />
<input name="tab" type="hidden" value="Everything" />
    <input name="group" value="GUEST" type="hidden">
    <input name="onCampus" value="true" type="hidden">
    <input name="displayMode" value="full" type="hidden">

  <label><span>Search in:</span>
  <select name="search_scope">
<option checked="checked" value="MyInst_and_CI">All Resources (articles, books, & more)</option>
<option value="MyInstitution">Library Catalog (books & media)</option>
<option value="CentralIndex">Articles</option>
<option value="CourseReserves">Course Reserves</option>
<option value="EBSCO_SEARCH">Articles via EBSCO (must sign in to view)</option>

  </select>
    <input type="hidden" id="primoQuery" name="query" />
    <input value="Go" id="go" title="Search" alt="Search" type="button" onClick="searchPrimo()">
  </label></form>



Amy Herman
Library Faculty | Olympic College
1600 Chester Avenue | Bremerton, WA 98337
aherman at olympic.edu<mailto:aherman at olympic.edu> | 360-475-7256

[alma signature]


From: Wactclc-primo <wactclc-primo-bounces at lists.ctc.edu> On Behalf Of Elena Bianco
Sent: Thursday, January 24, 2019 4:52 PM
To: WACTCLC Primo discussions <wactclc-primo at lists.ctc.edu>
Subject: [External] [Wactclc-primo] Primo VE Widgets in LibGuides

Has anyone gotten the Primo VE widget search to work in LibGuides? We have the standard version of LibGuides, and whenever I paste the code into a box and do the search it takes me to the main page, but doesn't do the actual search. It used to work on our old Primo, when it was connected to Millennium, but once we moved to Alma, the searches haven't worked.

Thanks for any ideas!

Elena


Elena Bianco, Systems & Technical Services Librarian
Skagit Valley College
2405 E. College Way
Mount Vernon, WA 98273
(360)416-7624

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ctc.edu/pipermail/wactclc-primo_lists.ctc.edu/attachments/20190125/ec37ebc9/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 6625 bytes
Desc: image002.png
URL: <http://lists.ctc.edu/pipermail/wactclc-primo_lists.ctc.edu/attachments/20190125/ec37ebc9/attachment-0002.png>


More information about the Wactclc-primo mailing list