Re: [Dspace-devel] Installing xmlui theme per dc.type

2015-04-23 Thread John Preston
dc.type path=some theme path/ It seems to work. Thanks guys. John On Wed, 15 Apr 2015 at 11:11 John Preston byhisde...@gmail.com wrote: Ok Guys I'm gonna try the following and comments are welcome. 1) I'm gonna add code in org.dspace.app.xmlui.configuration.Theme that stores an additional tag

Re: [Dspace-devel] Installing xmlui theme per dc.type

2015-04-15 Thread John Preston
if if (rule.hasMetadata() dso.getMetadata(...)) and so on and so forth John On Mon, 13 Apr 2015 at 15:38 John Preston byhisde...@gmail.com wrote: I've done this in the past it's just that it tends to get messy the more you add and I'm looking for a cleaner solution. John On Mon, Apr 13

Re: [Dspace-devel] Installing xmlui theme per dc.type

2015-04-13 Thread John Preston
needing special xmlui.xconf parsing code that you'd need to extend/alter to create your own config attributes. Mark On Mon, Apr 13, 2015 at 10:27 AM John Preston byhisde...@gmail.com wrote: So if I add some rule patterns to the xmlui.xconf (regex=? section) that dont break the existing ones

Re: [Dspace-devel] Installing xmlui theme per dc.type

2015-04-13 Thread John Preston
it feasible to extend it to support checking for specific metadata fields in the 5.x DSpaceObject metadata. https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/ThemeMatcher.java Cheers, Mark On Mon, Apr 13, 2015 at 9:12 AM John Preston

[Dspace-devel] Installing xmlui theme per dc.type

2015-04-13 Thread John Preston
Hi All, Can anyone say if it is possible within DSpace 5.x codebase to install a different xmlui theme based on a dc.type similar to what is done to install a theme per collection or community, or if not then how easy it would be for me to add a hack or code to implement such a beast. John

[Dspace-devel] dspace.name in config not used in xmlui

2010-02-19 Thread John Preston
I've just installed the latest 1.6 beta and noticed that the dspace.namesetting in the dspace.cfg file is not used to set the title of the home page. I can't remember if this is a new development or is it a jsp vs xmlui thing, cause I know I used to see it working. John