Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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>
  • No labels