Reputation: 77
Is it possible to apply different themes to different collections within a single DSpace XMLUI instance? What would be the general procedure (any documentation?)?
This question is similar, but I think it refers to the JSPUI: Can we show different browse layout for different collection in Dspace?
Upvotes: 0
Views: 340
Reputation: 46
To expand on the answer provided by aorth.
The themes in the repository are all based on 1 parent theme, this to minimise duplication.
This is called "0_CGIAR" for the following reasons:
Upvotes: 0
Reputation: 140
If you'd like to see how this works in practice, look at our institutional repository, which has twenty five different themes, all which inherit from one master theme (to maximize code reuse and minimize the maintenance burden):
The code for these themes lives in dspace/modules/xmlui-mirage2/src/main/webapp/themes
in our public source code repository and DSpace decides which theme to use in each community and or collection based on the logic in dspace/config/xmlui.xconf
.
This method is valid for DSpace 4.x and 5.x, but hasn't been tested personally in DSpace 6.x. Our repository is currently running 5.x.
Upvotes: 0
Reputation: 3956
and
https://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2#multiple-themes
Upvotes: 1