Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Wiki Markup
    _\[dspace-source\]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/_ \- Only exists if you downloaded the full Source Release of DSpace
  • Wiki Markup
    _\[dspace-source\]/dspace/target/dspace-\[version\].dir/webapps/dspace-jspui-webapp/_ \- The location where they are copied after first building DSpace.
    If you wish to modify a particular JSP, place your edited version in the *_\[dspace-source\]/dspace/modules/jspui/src/main/webapp/_* directory (_this is the replacement for the pre-1.5 \_/jsp/local_ directory_), with the same path as the original. If they exist, these will be used in preference to the default JSPs. For example:

    DSpace default

    Locally-modified version

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a33910b1b336116c-b0701de9-4a50444b-bc3db79d-7c3598bf9bae247904f02d50"><ac:plain-text-body><![CDATA[

    [jsp.dir]/community-list.jsp

    [jsp.custom-dir]/dspace/modules/jspui/src/main/webapp/community-list.jsp

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cfdfce805de2a4af-2f4018b9-4e2d4460-b726bd8f-620a685e3e67fd19b197f336"><ac:plain-text-body><![CDATA[

    [jsp.dir]/mydspace/main.jsp

    [jsp.custom-dir]/dspace/modules/jspui/src/main/webapp/mydspace/main.jsp

    ]]></ac:plain-text-body></ac:structured-macro>

Wiki Markup
Heavy use is made of a style sheet, _styles.css.jsp_. If you make edits, copy the local version to _\[jsp.custom-dir\]/dspace/modules/jspui/src/main/webapp/styles.css.jsp_, and it will be used automatically in preference to the default, as described above.

...

Wiki Markup
The 'layout' of each page, that is, the top and bottom banners and the navigation bar, are determined by the JSPs _/layout/header\-_{*}_.jsp{_}* *and* *_/layout/footer\-_{*}_.jsp_. You can provide modified versions of these (in _\[jsp.custom-dir\]/dspace/modules/jspui/src/main/webapp/layout_), or define more styles and apply them to pages by using the "style" attribute of the _dspace:layout_ tag.

...