Difference between revisions of "SUNScholar/XMLUI Theme/Tutorial"

From Libopedia
Jump to navigation Jump to search
Line 14: Line 14:
  
 
==Development Tools==
 
==Development Tools==
 +
===Theme path===
 
A new feature in DSpace 1.5 is the ability to try out different themes on a particular page without having to mess with the xmlui.xconf file or needing to restart Tomcat. Two things need to be done in order to apply a theme to any page you are currently looking at.
 
A new feature in DSpace 1.5 is the ability to try out different themes on a particular page without having to mess with the xmlui.xconf file or needing to restart Tomcat. Two things need to be done in order to apply a theme to any page you are currently looking at.
 
#The following setting in dspace.cfg must be set to true: '''xmlui.theme.allowoverrides=true'''
 
#The following setting in dspace.cfg must be set to true: '''xmlui.theme.allowoverrides=true'''
Line 28: Line 29:
 
  http://scholar.sun.ac.za/discover?themepath=Kubrick/
 
  http://scholar.sun.ac.za/discover?themepath=Kubrick/
 
  http://scholar.sun.ac.za/discover?themepath=mobile/
 
  http://scholar.sun.ac.za/discover?themepath=mobile/
 +
===DRI Expression===
 +
 +
===XML Expression===
  
 
==Theme Repository ==
 
==Theme Repository ==

Revision as of 23:22, 20 February 2014

Back to XMLUI Theme

Overview

Xmlui-overview.jpg

Official Help

View the following for official DSpace Manakin help.

View the following for a better understanding of XMLUI Mirage theme design using the "modules" overlay method:

Development Tools

Theme path

A new feature in DSpace 1.5 is the ability to try out different themes on a particular page without having to mess with the xmlui.xconf file or needing to restart Tomcat. Two things need to be done in order to apply a theme to any page you are currently looking at.

  1. The following setting in dspace.cfg must be set to true: xmlui.theme.allowoverrides=true
  2. The "themepath" value should be appended to the end of the url. See examples below.
http://scholar.sun.ac.za/?themepath=Classic/
http://scholar.sun.ac.za/?themepath=Reference/
http://scholar.sun.ac.za/?themepath=Mirage/
http://scholar.sun.ac.za/?themepath=Kubrick/
http://scholar.sun.ac.za/?themepath=mobile/

Now check all themes rendering the discovery search page.

http://scholar.sun.ac.za/discover?themepath=Classic/
http://scholar.sun.ac.za/discover?themepath=Reference/
http://scholar.sun.ac.za/discover?themepath=Mirage/
http://scholar.sun.ac.za/discover?themepath=Kubrick/
http://scholar.sun.ac.za/discover?themepath=mobile/

DRI Expression

XML Expression

Theme Repository

Check out the following theme repositories.

References