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.
<?xml version="1.0" encoding="utf-8"?>
<html>
Files:
- _new-theme-source _(This directory holds the new theme's source code)
- dspace-src/dspace/modules/xmlui/src/main/webapp/themes/theme-dir (This will be the new location for the theme's source)
- dspace/config/xmlui.xconf
Instructions:
- If you are installing a brand new theme that is not distributed with Manakin then preform the following operations, otherwise skip to the next step. <p class="Example">
new-theme-source dspace-src/dspace/modules/xmlui/src/main/webapp/themes/theme-dir
cp
- Open Manakin's configuration file, dspace/config/xmlui.xconf, scroll to the bottom and locate the <themes> element.
- Add a new tag <theme> element inside the <themes> element as below:
<theme name="My new theme" path="[theme-dir]"/>
- If you wish to install this theme onto a particular community or collection then modify the new <theme> tag as:
<theme name="My new theme" handle="123/1" path="[theme-dir]"/>
- If you wish to install this theme as the default theme then modify your new <theme> tag (make sure this tag is the last theme defined):
<theme name="My new theme" regex=".*" path="[theme-dir]"/>
- Other Example
values:
regex
- (Theme for homepage ONLY)
regex="^$"
- (Theme for all global "Browse By" pages)
regex="^browse$"
- (Theme for Community Listing page)
regex="community-list"
- Other Example
- Restart Tomcat (See Quick Restart in Rebuild+DSpace)
Notes:
- Themes are evaluated in the order they appear in the xmlui.xconf file. Thus, if the default theme is defined before any other themes then no other themes will be used.
</html>
Overview
Content Tools