Hilton,
Can you switch debug on and post your log?
The ThemeMatcher code has a series of logging that should help
(the code looks a bit odd to me but probably just personal style).
Regards,
Ben
[Jisc]<http://www.jisc.ac.uk/>
Ben Ryan
Jorum Technical Manager
T 0161 275 6032
Skype argaric
Room 5.12 Roscoe Buidling, The University of Manchester, Oxford Road, M13 9PL
jisc.ac.uk<http://www.jisc.ac.uk/>
Jisc is a registered charity (number 1149740) and a company limited by
guarantee which is registered in England under Company No. 5747339, VAT No. GB
197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol,
BS2 0JA. T 0203 697 5800. jisc.ac.uk<http://www.jisc.ac.uk/>
From: Hilton Gibson [mailto:[email protected]]
Sent: 19 January 2015 09:20
To: dspace-tech
Subject: [Dspace-tech] XMLUI theme matching problem
Hi All
I am trying to "colourise" our faculty communities.
See: http://scholar.sun.ac.za
Here is the faculty palette:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Color_Palette
Attached is my "xmlui.xconf" file.
The XMLUI does not seem to obey the "colourisation".
I have tried the following to remedy this:
1. Sort faculty handles ascending and descending in the "xmlui.xconf".
2. For all themes, disable the browser caching in the "sitemap.xmap" files.
I have installed the "cache killer" app in my Google Chrome browser to test if
this is a cache problem. I have also reset the "java cache" in the XMLUI admin
control panel to do testing.
The page metadata correctly displays the theme name and path.
See: http://scholar.sun.ac.za/?XML and
http://scholar.sun.ac.za/handle/10019.1/1?XML
I simply cannot find a cause, why the theme colour is not obeyed strictly per
faculty.
Any help appreciated. Depending on the responses to this question on the list,
I may submit a bug report.
This is supposed to be one the big selling points of the XMLUI, the ability to
theme communities and collections etc..., but for me it does not work ;-(
I suspect something in the following code is not robust.
See:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/ThemeMatcher.java
Cheers
hg
Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette