On Fri, Nov 18, 2011 at 14:41, Shaw Yu <[email protected]> wrote: > How can we make changes to the full item record display or just to > change the order of the fields in that display? It looks like to modify > the full item record display is quite different from to modify the > short display. The late can be changed by modifying some configuration > files but the former is not. We use version 1.7 and use XMLUI.
You didn't specify which XMLUI theme you're using, so I'll assume Mirage. Same thing can be done for the Reference theme but the files and template names are different. You can modify the full record display XSLT by overriding this template: <xsl:template match="dim:field" mode="itemDetailView-DIM"> You can find it in this file in DSpace 1.8: [dspace]/webapps/xmlui/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl:323 This template only lists all records in the order specified by its metadata ID in database. There's also a corresponding template for the summary record display in [dspace]/webapps/xmlui/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl:41 If you want the full display to display only certain fields, you can use the summary template to see how it's done. Please note that in the summary view template you have to pay attention not to leave out any clause number in these "when" clauses: <xsl:when test="$clause = 1"> <xsl:when test="$clause = 2 and ... ... <xsl:otherwise> <xsl:if test="$clause < 8"> > Also, if we can make the changes to the full item record display, would > that changes be at the global level or could it be per collection? By default global, but of course you can also make a different override for different collections as you wish. To detect the currently displayed template you would use <metadata element="request" qualifier="URI"> from the pageMeta section of DRI. Regards, ~~helix84 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

