Hello Peter, Thank you so much for the valuable information. You have done a great job! However we still have a very old version of Dspace 1.8.1. I don’t think I can benefit from the below, no? I am still new to layout customization.
One question, we are willing to upgrade to the version you are using in the sample link below. What is that version? And can we just do an upgrade from 1.8.1 to that version or we have to re-install it all over again? One other question, when I create a new custom theme, how can I apply it? In other words, how can I tell Dspace to use it? Finally, I read in a previous post that I have to know the order of the metadata ID that are returned from the database for the clauses numbers in the xsl template. How can I do so if I don’t have access to the database? Your help is very much appreciated! All the best, Regards. From: Peter Dietz [mailto:[email protected]] Sent: Tuesday, October 28, 2014 5:53 PM To: royopa Cc: Layale Bassil; [email protected] Subject: Re: [Dspace-tech] Show Full item record and simple item record... Hi Layale, Here's some examples of changes to the item-view that we've been doing. http://dc.statelibrary.sc.gov/handle/10827/886 Adding Subject and Description to the simple-item-view was managed through: https://github.com/LongsightGroup/DSpace/blob/longsight-4_x/dspace-xmlui/src/main/webapp/themes/mirage2/xsl/aspect/artifactbrowser/item-view.xsl#L109 <xsl:call-template name="itemSummaryView-DIM-subject"/> <xsl:call-template name="itemSummaryView-DIM-abstract"/> <xsl:call-template name="itemSummaryView-DIM-description"/> <xsl:call-template name="itemSummaryView-DIM-URI"/> <xsl:call-template name="itemSummaryView-collections"/> (You would have to ensure that implemented these templates) We've also customized the show-full-metadata page to show human-text of metadata fields (i.e. "Abstract" vs dc.description.abstract, you can still mouse-over a field to see it's dublin-core field) That trick was implemented by having i18n values for every metadata field: https://github.com/LongsightGroup/DSpace/blob/longsight-4_x/dspace-xmlui/src/main/webapp/themes/mirage2/xsl/aspect/artifactbrowser/item-view.xsl#L545 <!-- i18n for translating metadata key to human readable --> <i18n:text> <xsl:text>xmlui.metadata.</xsl:text> <xsl:value-of select="$metadata-field"/> We also have another example, where we added completely new fields to the simple-item-view, see: https://dspace.sunyconnect.suny.edu/handle/1951/64595 ________________ Peter Dietz Longsight www.longsight.com<http://www.longsight.com> [email protected]<mailto:[email protected]> p: 740-599-5005 x809 On Tue, Oct 28, 2014 at 9:14 AM, royopa <[email protected]<mailto:[email protected]>> wrote: Hello In my theme Mirage with DSpace 4.2, the file is: [dspace]\webapps\xmlui\themes\Mirage\lib\xsl\aspect\artifactbrowser\item-view.xsl In your case, it should be something like this. Try checking these pages also: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006388 https://www.mail-archive.com/[email protected]/msg15576.html Regards Royopa about.me/royopa/<http://about.me/royopa/> On Tue, Oct 28, 2014 at 5:29 AM, Layale Bassil <[email protected]<mailto:[email protected]>> wrote: Hello All, I would like to know how can I change the layout of the full item record page and simple item record page? I need to show more fields of the Dublin core metadata; i.e. I need to show the initials of the contributor, the address and email of the creator, etc… Can you please tell me which file I should edit and how in order to customize the layout of the item record display? I am working on Dspace 1.8.1 and using the default Manakin theme. I am also using the XMLUI interface. Many thanks, Regards. ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Rodrigo Prado de Jesus http://about.me/royopa [email protected]<mailto:[email protected]> ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

