Hi,

We're using DSpace 4, with XMLUI.

We've had a request from our client to hide recent submissions from repository, community and collection pages. Now, the collection page looks empty and we wanted to show all items in a collection, like the page that is rendered when user clicks on "Browse -> This Collection -> Titles".

We changed "/xmlui/themes/OurTheme/lib/xsl/aspect/artifactbrowser/collection-list.xsl", the following part, which appears twice:
<a href="{@OBJID}">

to this:
<a href="{@OBJID}/browse?type=title">

Now, when a user is browsing through the repository, when they click on a collection in a list on a community page, they get a collection's "browse by title".

The thing we're having trouble customizing is the trail (breadcrumbs). When rendering the trail, we would like for a trail collection element's hyperlink to have the same appendix - "/browse?type=title".

Is there a way to check whether a trail element is a collection, and then alter it's @target? Or maybe there's a more elegant way to show all of collection's items?

Thank you in advance!

Kind regards,
Vladimir

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to