Blackboard

A search box in a blackboard module

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 4 Replies | 1 Follower

Top 75 Contributor
30 Posts
Dave Sharples posted on 26 Apr 2012 5:22 PM

Hi, we have a library search page which will search all our library resources. 

 

What I want to do is simply load that page (which is really just a search box) into a module for users to click in.

 

What i cannot find is what type of module to use, is there a simple way to do this - just load a web page into a module (we have the community system) and using 9.1 SP8

 

thanks

All Replies

Top 10 Contributor
Male
6,232 Posts

Dave,

What you want to create is a "URL" type module, which does exactly what you describe (displays a web page within the module).

Mike

Top 75 Contributor
30 Posts

Thanks Mike, i tried that but it doesnt seem to work.

 

the URL I am using is

 

http://new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do?embed=true&sadvanced=true&slabel=Library%20Search%20Beta 

 

When I paste that into the contents of  URL module, previewing it shows nothing.

 

Thanks


Dave 

Top 10 Contributor
Male
6,232 Posts

When try to go to that URL with my browser, it tries to redirect me through a single-signon screen with Javascript at https://dc03vg0022eu.hosted.exlibrisgroup.com/pds?func=sso&calling_system=primo&url=http://new-primo.hosted.exlibrisgroup.com:80/primo_library/libweb/action/login.do?afterPDS=true&vid=NCL_V1&dscnt=1&targetURL=http://new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do?dscnt=0&slabel=Library+Search+Beta&sadvanced=true&dstmp=1335536433344&embed=true before taking me to the search window, and if Javascript can't run (I have NoScript on my browser) then I get stuck at a white screen.

So, the URL module can display static HTML that it's retrieved from the remote server, but it can't process dynamic Javascript redirects, apparently.

Mike

Not Ranked
2 Posts

 

If you're just wanting a primo search box the following form should do:

<form action=" http://new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do" method="get" onsubmit=" window.open(' http://new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do?'+$(this).serialize()); return false; ">
<input onfocus="this.value='';" type="text" name="vl(freeText0)" value="Search Primo" size="15" style="padding-top:0.09em">
<input type="hidden" name="dscnt" value="0">
<input type="hidden" name="frbg" value="">
<input type="submit" name="go" value="Go">
<input type="hidden" name="scp.spcs" value="scope:(NCL_LMS),scope:(NCL_SFX),scope:(NCL_ML),scope:(NCL),scope:(NCL_EPR)">
<input type="hidden" name="tab" value="local">
<input type="hidden" name="srt" value="rank">
<input type="hidden" name="ct" value="search">
<input type="hidden" name="mode" value="Basic">
<input type="hidden" name="dum" value="true">
<input type="hidden" name="indx" value="1">
<input type="hidden" name="fn" value="search">
<input type="hidden" name="vid" value="NCL_V1">
</form>

Cheers,

A.

 

Page 1 of 1 (5 items) | RSS