Thanks, Andrea. That is very helpful. Following your advice, I was able to
add buttons (facets?) to the Browse panel in the Communities and
Collections pages, as well as add links to the Browse section in the
Research Outputs page.

I will add these examples to the documentation.

What I still don't know how to do is:
- modify the fields displayed in the Discover section of the Research
Outputs page; and
- modify the contents of the navbar.

On Wed, 18 Sep 2019 at 00:51, Bollini Andrea <andrea.boll...@4science.it>
wrote:

> Hi Sean,
> you need to map the configured browse to an entity type so that it will
> appear in the relevant area of the website.
>
> To add a browse to the community or collection home page see
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2363
>
> to add the browse to a specific explore section, for instance
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L72
> are the browses related to the publications section
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/cris/cris-processor.xml#L67
>
> please be sure also to limit the sort options available for the browse
> index to the relevant ones, see
>
>
> https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2360
>
> If the above information will help, I would appreciate if you can
> improve the documentation here
> https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> Best,
> Andrea
>
>
> On Tue, 2019-09-17 at 14:57 +0200, Sean Carte wrote:
> > In the XML UI I can add additional browse indexes by adding
> > search.index.n and webui.browse.index.n fields, e.g., to add a
> > 'level' index for a defined field dc.description.level, I would add
> > the following to dspace.cfg:
> >
> > search.index.15 = level:dc.description.level
> > webui.browse.index.7 = level:metadata:dc.description.level:text
> >
> > and add the appropriate description to messages.xml:
> >
> >         <message
> > key="xmlui.ArtifactBrowser.ConfigurableBrowse.level.column_heading">Q
> > ualification Level</message>
> >         <message
> > key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.level">B
> > rowsing {0} by Qualification Level {1}</message>
> >         <message
> > key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.level">B
> > rowsing {0} by Qualification level {1}</message>
> >         <message
> > key="xmlui.ArtifactBrowser.Navigation.browse_level">Qualification
> > Level</message>
> >
> > Then, bin/dspace index-discovery -b -f
> >
> > And the new items appear in the Browse list.
> >
> > Similarly for the JSP UI, except I need to edit  dspace-
> > api/src/main/resources/Messages.properties and rebuild the webapp:
> >
> > browse.menu.level = Qualification Level
> > browse.type.metadata.level = Qualification Level
> >
> > According to
> > https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687 , it
> > looks like I should follow a similar process for DSpace-CRIS:
> >
> >   webui.browse.index.<n> = <index-name>:<display-type>:<sort-
> > name>[:DESC]
> >
> > should create the indexes, but I can't find any way to display or use
> > them. I have added the fields to Messages.properties and reindexed. I
> > expected the new items to appear in the 'Discover' box, but that
> > remains unchanged.
> >
> > I would like to add items to the navbar, but that's starting to seem
> > like a distant dream.
> >
> > What am I doing wrong?
> >
> > DSpace version:  CRIS-5.10.0-SNAPSHOT
> >      Discovery:  enabled.
> >            JRE:  Private Build version 1.8.0_222
> >    Ant version:  Apache Ant(TM) version 1.9.6 compiled on July 20
> > 2018
> >  Maven version:  3.3.9
> > --
> >
> > --
> > 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+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhO5guoi6c_7hoD%2BAJfUD3kp3_NyFbeZrsbDvqXMJgMGUQ%40mail.gmail.com
> > .
> >
>
> --
> Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non
> infetto.
> This message was scanned by Libra ESVA and is believed to be clean.
>
>

--

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhP-YT7%2BpjnCgVe7omH3SBwBTYf6DLSqVeJuW9hxV9UZrg%40mail.gmail.com.

Reply via email to