Hi Bill,

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

Is that that would apply Theme1 to things that recursively stem from handle
12345/1 (com, sub-com, coll, items, ...) AND (follow the regex of being the
homepage OR community-list). Which is no pages.

What you'll want to do, is to add a series of matches, each on a different
line. Sorry if the docs aren't clearer.
I think your ultimate configs will look like:

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




________________
Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809


On Tue, Jul 29, 2014 at 12:26 PM, Bill Tantzen <wile...@gmail.com> wrote:

> 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
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to