Put DSpace search box on CMS help users to search DSpace from other website

98 views
Skip to first unread message

Lewatle Johannes Phaladi

unread,
Aug 1, 2022, 4:27:59 AM8/1/22
to DSpace Technical Support
Dear DSpace Colleagues,

Is there any steps or link I can follow to  Put DSpace search box on CMS to help users to search DSpace from other website.

example of search box screen referring to is pasted below, that is default search box coming with DSpace 6.x


image_2022-08-01_102623710.png

Regards,
Lewatle 

Gautham N

unread,
Aug 1, 2022, 12:59:24 PM8/1/22
to DSpace Technical Support
<!DOCTYPE html>
<html lang="en" >
<body>
    <input type="text" style="color:black;" name="query" id="search-bar" placeholder="Search...">
    <button>Go</button>
</form>
</body>
</html>


For DSpace 7.x use the following query in the form action https://demo7.dspace.org/search?query=
Use the URL of your instance instead of the demo ones provided [https://demo.dspace.org/ and https://demo7.dspace.org/]

I hope this helps you.

Lewatle Johannes Phaladi

unread,
Aug 2, 2022, 3:02:57 AM8/2/22
to DSpace Technical Support

Thanks a lot for sharing, I will put the code with our local site URL.

Much appreciated!
Reply all
Reply to author
Forward
0 new messages