Custom top-level-community.component in home page

101 views
Skip to first unread message

Thien Trinh Huynh

unread,
Jul 29, 2024, 5:03:43 PM7/29/24
to DSpace Community
Hi, I'm new to Dspace.

I want the top-level-community.component in home page becomes something like a list of all collections component. I can't find which code fetch api of collections. Also can I add a new ds-component like ds-recent-collection.

Regards
Trinh

Ben Parkes

unread,
Jul 30, 2024, 4:25:51 AM7/30/24
to Thien Trinh Huynh, DSpace Community

Hello Trinh,

 

I believe to modify the community to list all the communities you would need to adjust the elementsPerPage variable in the top-level-community-list.component.ts.

 

I would recommend creating a custom theme as detailed here if you wish to add a new component. There is useful information here on how to create custom components within the Angular frontend.

https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization#UserInterfaceCustomization-CreatingaCustomTheme

 

Best,

Ben

 

 

____________________________

Ben Parkes

Lead SCURL Developer | Digital Library Software Developer

Digital Library, Library & University Collections, University of Edinburgh 

Argyle House, Lady Lawson Street, Edinburgh EH3 9DR

Pronouns: He, him, his

 

 

From: dspace-c...@googlegroups.com <dspace-c...@googlegroups.com> on behalf of Thien Trinh Huynh <reshiramvs...@gmail.com>
Date: Monday, 29 July 2024 at 22:04
To: DSpace Community <dspace-c...@googlegroups.com>
Subject: [dspace-community] Custom top-level-community.component in home page

This email was sent to you by someone outside the University.

You should only click on links or attachments if you are certain that the email is genuine and the content is safe.

--
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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/5979d76a-8449-419a-8581-e7eb5f590194n%40googlegroups.com.

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
Reply all
Reply to author
Forward
0 new messages