In DSpace 4.1 using xmlui, I would like to apply Theme1 to the home
page and to the community list page (regex="^$|community-list) and to
handle/12345/1 (handle="12345/1").  I would like to use Theme2 for all
other pages.

The docs make me think I can have a theme element in xmlui.xconf like:

<theme name="Theme1" handle="12345/1" regex="^$|community-list" path="Theme1/">

followed by

<theme name="Theme2" regex=".*" path="Theme2/">

But Theme2 is used for all pages when I configure it this way.

The only way I can achieve what I want is to create 2 theme elements:

<theme name="Theme1" regex="^$|community-list" path="Theme1/">
<theme name="Theme1" handle="12345/1"  path="Theme1/">

Am I doing something wrong in the first example? Shouldn't I be able
to have both a regex and a handle attribute in the theme element?

Thanks for taking a look,
Bill

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to