Adding Browse By Items

280 views
Skip to first unread message

Lewatle Johannes Phaladi

unread,
Jan 11, 2024, 7:35:02 AM1/11/24
to DSpace Technical Support
Dear All, 

Please assist on how to add browse by items , I would like to add department field on the following list. The first image below is browse by from out of box DSpace software, the second picture shows added fields I would like to edit DSpace 7.6 installation and put 1 or 2 more fields  

browse by 1.png




browse by 2.png

Regards,
Lewatle 

Sean Carte

unread,
Jan 12, 2024, 3:26:58 AM1/12/24
to Lewatle Johannes Phaladi, DSpace Technical Support
Hi Lewatie

You'll need to look at the webui.browse.index.* settings in your dspace.cfg file. The comments therein are helpful.

Sean

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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/144c8a1f-49dd-47e0-87b5-f9bd4472b9abn%40googlegroups.com.

Lewatle Johannes Phaladi

unread,
Jan 12, 2024, 3:43:02 AM1/12/24
to DSpace Technical Support
Hello Sean,

Thanks a lot, I will have a look at those comments as indicated.

Regards,
Lewatle 

Lewatle Johannes Phaladi

unread,
Feb 16, 2024, 8:56:01 AM2/16/24
to DSpace Technical Support
Hello Sean and DSpace Team,

I have attached images detailing changes done up to now trying to customize browse by dc fields by adding preferred fields, in dspace.cfg I have added few fields and in en.json5 file also updated wording, only Department field is updated but not searching metadata related to dc.department, the only field that search correct metadata is dc date accessioned but its wording not appearing on the menu, By Dateaccessioned not visible on the menu.

Is there any place where I should update to make this fields search metadata and show on frontend when user click them.

Regards,
Lewatle 

browseby0.png
browseby.png
browseby1.png
browseby2.png

Sean Carte

unread,
Feb 16, 2024, 10:46:25 AM2/16/24
to Lewatle Johannes Phaladi, DSpace Technical Support
Hi Lewatle

I'm not sure if it's the best way to do this, but I edit this file:
~/dspace-angular/src/assets/i18n/en.json5

You'll need to edit/add fields for browse.comcol.by, browse.metadata and menu.section, e.g:

this adds the 'By Date Accessioned':
  "browse.comcol.by.dateaccessioned": "By Date Accessioned",
  "browse.metadata.dateaccessioned": "Date Accessioned",
  "browse.metadata.dateaccessioned.breadcrumbs": "Browse by Date Accessioned",
  "menu.section.browse_community_by_dateaccessioned": "By Date Accessioned",
  "menu.section.browse_community_by_dateaccessioned": "By Date Accessioned",
  "menu.section.browse_global_by_dateaccessioned": "By Date Accessioned",

Then you'll need to rebuild and deploy.

Sean

Salony Permanand

unread,
Feb 17, 2024, 1:33:35 AM2/17/24
to Sean Carte, DSpace Technical Support, Lewatle Johannes Phaladi
Have you tried index discovery . After applying index discovery-b all options will be visible

Lewatle Johannes Phaladi

unread,
Feb 22, 2024, 3:37:27 AM2/22/24
to DSpace Technical Support
Hello Sean,

Thank you a lot for sharing helpful steps, they have worked, please see screenshot below :

image_2024-02-22_103531903.png
Regards,
Lewatle 

Lewatle Johannes Phaladi

unread,
Feb 22, 2024, 3:41:11 AM2/22/24
to DSpace Technical Support
Hello Salony, 

Thank you very much, re-indexing discovery step I did not use before and after you mentioned it I did use and the browse by list was updated.

Regards,
Lewatle 

Reply all
Reply to author
Forward
0 new messages