For the records: Thanks to a suggestion I received in a direct message from people from https://bibliotecnica.upc.edu/ (thanks!), I finally found a solution.
I implemented a custom component as shown in this patch: https://github.com/sistedes/dspace.ui/commit/f39dd0ca833f71fd2b22d15e391829d5dba02f6e Thanks! Abel El jueves, 18 de abril de 2024 a las 17:22:19 UTC+2, Abel Gómez escribió: > Hi all, > > I'm looking for advice to tweak how links to collections are rendered in > DSpace Angular 7.6.1. > > This is because I have a few Items that are mapped to multiple collections > (all with the same name, see the "Colecciones" section at: > https://hdl.handle.net/11705/1507), and I'd like to show the name of the > corresponding parent community next to the collection name to easily > differentiate them. > > I've been trying to change the "CollectionsComponent" in the > "src/app/item-page/field-components-collections/collections.component.ts" > and > "src/app/item-page/field-components-collections/collections.component.html", > but I've been unable to make it work. > > From what I understand, it seems that the "parentCommunity" HALLink is not > preloaded, but I'm not experienced enough with Angular.io to load it and > make it work. > > Any help from an experienced Angular developer on how to achieve this > would be appreciated. > > Best regards, > > Abel > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/2caf01e4-6c0b-4c25-9ed2-18445d9ddd70n%40googlegroups.com.
