Archived / Obsolete Documentation

Documentation in this space is no longer accurate.
Looking for official DSpace documentation? See all documentation

Files:

  • [dspace-src]/xmlui/themes/[theme-dir]/template.xsl (Custom theme's stylesheet – may be named differently for custom themes)
  • [dspace-src]/xmlui/themes/dri2xhtml/structural.xsl (Page structure stylesheet for Class, Kubrick, Reference & dri2xhtml based themes)
  • [dspace-src]/xmlui/themes/dri2xhtml-alt/core/page-structure.xsl (Page structure stylesheet for Mirage & dri2xhtml-alt based themes)

Instructions:

  1. If you haven't already, you need to Create a new theme
  2. To modify the header, locate the template named "buildHeader" inside the proper XSLT in your theme (see above file locations). Copy this template into your theme's local 'template.xsl' (or whatever you named your custom theme's stylesheet) and modify the XSLT as needed.
    <xsl:template name="buildHeader">
    ....
    </xsl:template>
  3. To modify the footer, locate the template named "buildFooter" inside the proper XSLT in your theme (see above file locations). Copy this template into your theme's local 'template.xsl' (or whatever you named your custom theme's stylesheet) and modify the XSLT as needed.
    <xsl:template name="buildFooter">
    ....
    </xsl:template>