Change single page layout (JSP)

From DSpace Wiki

Jump to: navigation, search

[edit] Files:

  • Any JSP in [dspace-source]/jsp/local/

[edit] Instructions:

  1. Find the following JSP Tag near the top of the JSP:
    <dspace:layout … >
  2. Pass this tag any of the following “attributes”, to customize the layout of this JSP:
    • style – specifies the “style” of header/footer to display for this JSP
    • (e.g.) style=”myStyle” means the header-myStyle.jsp and footer-myStyle.jsp will be used for this JSP.
    • If style is unspecified, header-default.jsp and footer-default.jsp are used.
    • navbar – specifies the navigation bar to use for this JSP</p>
    • (e.g.) navbar=”myNavigation” means the navbar-myNavigation.jsp will be used for this JSP
    • navbar=”off” turns off the navigation bar on a page.
    • If navbar is unspecified, navbar-default.jsp is used.
    • locbar – specifies type of location bar to use. There are only a few values of real importance:</p>
    • locbar=”off” – turns off the location bar on this JSP.
    • locbar=”noLink” – do not provide links in location bar.
    • locbar=”commLink” – attempt to provide all parent communities within the location bar.
    • If locbar is unspecified, all parent communities/collections are displayed as links in the location bar.
  3. Perform the steps in Rebuild DSpace.
Personal tools