So if I add some rule patterns to the xmlui.xconf (regex=? section) that
dont break the existing ones, and add code to ThemeMatcher (lines 105 to
120+) that use the uri to instantiate the dspace object and find some
metadata and match to the rule pattern (similar to the checking handles
code) then I should be good to go.
John
On Mon, 13 Apr 2015 at 11:18 Mark Diggory <mdigg...@atmire.com> wrote:
> John,
>
> You could add a theme match on Item handle. We have overridden
> ThemeMatcher in other projects and extended it with additional support for
> features such as requested domain name. I can see 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 <byhisde...@gmail.com> wrote:
>
>> 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
>>
>
>> ------------------------------------------------------------------------------
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live
>> exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>> event?utm_
>>
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
>> Dspace-devel mailing list
>> Dspace-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>>
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel