Hi Marios, it's much easier than that with XMLUI, you don't have to modify any Java files, only override XSL templates.
But first, let's create a custom theme to avoid modifying the shipped themes: 1) create a new custom theme by copying the "Reference" theme, let's call it "Marios": https://wiki.duraspace.org/display/DSPACE/Create+a+new+theme+(Manakin) 2) In your Marios theme, create a new empty XSL file called Marios/Marios.xsl. It will look like this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns:dri="http://di.tamu.edu/DRI/1.0/" xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/TR/xlink/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mods="http://www.loc.gov/mods/v3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="i18n dri mets xlink xsl dim xhtml mods dc"> <xsl:import href="../dri2xhtml.xsl"/> <xsl:output indent="yes"/> <!-- Your templates will go here --> </xsl:stylesheet> 3) In Marios/sitemap.xmap replace <!-- Step 3: Transform to XHTML --> <map:transform src="../dri2xhtml.xsl"/> with <map:transform src="Marios/Marios.xsl"/> 4) In [dspace]/config/xmlui.xconf, replace <theme name="Default Reference Theme" regex=".*" path="Reference/" /> with <theme name="My new theme" regex=".*" path="Marios/" /> to make Marios the default theme for your instance. The Reference theme is a thin layer on top of the dri2xhtml theme, so: Reference overrides any templated defined in dri2xhtml Marios overrides any templated defined in Reference (and, in turn, also in dri2xhtml) Now, the custmization step itself is really easy: The template that renders the file list is in dri2xhtml/General-Handler.xsl and it's this one: <xsl:template match="mets:fileGrp[@USE='CONTENT']"> What you need to do is copy this single template to Marios/Marios.xsl and there you can modify it any way you wish, e.g.: <xsl:template match="mets:fileGrp[@USE='CONTENT']"> <xsl:param name="context"/> <xsl:param name="primaryBitstream" select="-1"/> <h2><i18n:text>xmlui.dri2xhtml.METS-1.0.item-files-head</i18n:text></h2> <a href="http://example.com/link/to/fulltext">Link to fulltext on external site</a> </xsl:template> Regards, ~~helix84 ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

