Hi Milos,

________________________________________
Von: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> im Auftrag von 
Milos Ivanovic <imi...@gmail.com>
Gesendet: Mittwoch, 5. Juli 2023 22:47
An: DSpace Technical Support
Betreff: [Extern] [dspace-tech] Item page customization

Dear All,

I have an updated DSpace 7.6 installation which works pretty fine. However, I'd 
like to add more customization in the item page like 
this<https://dr.lib.iastate.edu/entities/publication/ff8e598c-34a8-49f2-90b4-a5b2463222c7>.
 The Authors links (attached screenshot) look very useful for further browsing.

Is there a streamlined way to accomplish this? Does one have to edit 
src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html? I 
have to say that am not an expert in Angular, but I know how to do some 
not-so-complicated stuff. Many thanks in advance!

-----------------------

yes, it can be done there (make a theme !), I did this for a fast preview while 
checking out our previous modifications (DSpace 5.10) to migrate to DSpace 7.x .
Also understand that this is not working for sort of wildcards 
"dc.contributor.*" e.g.

Our authors are in dcterms.creator, so this renders ALL of them at once in a 
list :

<div style="word-break: break-word;display: inline-block;" *ngFor="let authors 
of object.metadata['dcterms.creator']| keyvalue">
   <a href="/browse/author?value={{authors.value.value}}" style="border:1px 
solid #f0f0f0;border-radius:4px;background-color:#f0f0f0;margin:2px;display: 
inline-block;">{{ authors.value.value}}</a>
</div>

Better do it in a component , so !


Michael

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1fc299d7decc4b47b5d0649a550ed6f6%40bibliothek.uni-kassel.de.

Reply via email to