Hi,

Am 18.04.23 um 23:32 schrieb Costantino, Fernán:
Hi people,

Is there a way to display a custom dc data into item page?
[…]


Go to [DSpace-angular]src/app/item-page/simple/item-types/untyped-item
and open

untyped-item.component.html

The "ds-generic-item-page-field" should be a good introduction on how to display metadata fields.

You can create a theme to avoid changing the main tree (https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization). You can play a bit in the template before writing - if anyway - your own components. This is a short test(!) of ours for a clickable list of editors (metadate: dc.contributor.editor):

   <!-- UBKS dc.contributor.editor-->
    <ng-container *ngIf="object.metadata['dc.contributor.editor']">
        <h2>{{'relationships.isEditorOf' | translate}}</h2>
<div style="word-break: break-word;display: inline-block;" *ngFor="let authors of object.metadata['dc.contributor.editor']| 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>
    </ng-container>

Hope it helps


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/8f874c1f-fb20-575d-4da9-57a726cb0e9f%40bibliothek.uni-kassel.de.

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

Reply via email to