Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated for Mirage, etc

Files:

  • Wiki Markup
    {{\[dspace-src\]/xmlui
    manakin-source
    /themes/\[theme-dir\]/template.xsl   (
    The
    Custom theme's stylesheet -- may be named differently for custom themes)
  • Wiki Markup
    {{\[dspace-src\]/xmlui
    manakin-source
    /themes/dri2xhtml/structural.xsl (Page structure stylesheet for Class, Kubrick, Reference & dri2xhtml based themes)
  • Wiki Markup
    {{\[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 structural.xslproper 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.
    Code Block
     &lt;xsl<xsl:template name="buildHeader"&gt;>
    ....
    Code Block
     &lt;</xsl:template&gt;template>
  3. To modify the footer, locate the template named "buildFooter" inside the structural.xslproper 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.
    Code Block
     &lt;xsl<xsl:template name="buildFooter"&gt;>
    ....
    Code Block
     &lt;</xsl:template&gt;template>