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

From Libopedia
Jump to navigation Jump to search
Line 33: Line 33:
 
You can view the DRI (DSpace Repository Interface) elements as follows per page by prepending '''/DRI'''.
 
You can view the DRI (DSpace Repository Interface) elements as follows per page by prepending '''/DRI'''.
 
  http://scholar.sun.ac.za/DRI/discover
 
  http://scholar.sun.ac.za/DRI/discover
 +
http://scholar.sun.ac.za/DRI/statistics-home
  
 
===XML Expression===
 
===XML Expression===

Revision as of 23:36, 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

You can view the DRI (DSpace Repository Interface) elements as follows per page by prepending /DRI.

http://scholar.sun.ac.za/DRI/discover
http://scholar.sun.ac.za/DRI/statistics-home

XML Expression

You can view the XML elements as follows per page by appending ?XML.

http://scholar.sun.ac.za/discover?XML

Combined Expression

Now lets combine expressions as follows.

http://scholar.sun.ac.za/DRI/?themepath=Classic/
http://scholar.sun.ac.za/DRI/discover?themepath=Classic/

Theme Repository

Check out the following theme repositories.

References