Hello everybody,
we are using DSpace
5.5 and we would like to to create a custom search form on
DSpace homepage, allowing us to use advanced filters together
with search query in a similar fashion as it is possible on
Discovery page (e.g. https://dspace.cuni.cz/discover).
Is it possible to add a custom search field together with
advanced filters?
The idea is to have a search field at the top of the homepage, followed by list of communities. So far I was able to just add a simple search field without any additional filtering options (https://dspace.cuni.cz) by modifying news-xmlui.xml file:
<div id="aspect.discovery.SiteViewer.div.front-page-search-custom" interactive="yes" rend="primary" action="/discover" n="front-page-search" method="get">
<head>Search DSpace</head>
<p>Enter some text in the box below to search DSpace.</p>
<p>
<field id="aspect.discovery.SiteViewer.field.query" n="query" type="text"> <params/> </field>
<field id="aspect.discovery.SiteViewer.field.submit" n="submit" type="button"> <params/> <value type="raw">Go</value> </field>
</p>
</div>
(it is an example code
I got from http://wiki.lib.sun.ac.za/index.php?title=SUNScholar/XMLUI_Theme/M1/Page_Structure)
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/95439e40-2f19-4ffc-9adc-dc8469320987%40googlegroups.com.