OK, here is some further info:  The correct ItemPageComponent is being
selected correctly, but the UntypedItemComponent is the piece that is
incorrect.

UntypedItemComponent is NOT in the custom theme directory, so maybe it is
not themeable?

Has anybody fooled around with this?  My goal is to have differently themed
item pages depending on a per-collection or per-community basis...
Specifically, different metadata, and it looks like UntypedItemComponent is
where this magic happens.

Ideas?
~~Bill

On Tue, Aug 23, 2022 at 12:07 PM Bill Tantzen <[email protected]> wrote:

> I'm experimenting with creating custom themes for a couple of communities
> and collections.  I have a default theme with all the components in
> 'custom', along with a theme for a specific community, and one for a
> specific collection.  My theme config is like so:
>
> themes:
>   - name: 'community_a'
>     extends: 'default'
>     handle: 'xxxxx/183663'
>
>   - name: 'collection_a'
>     extends: 'default'
>     handle: 'xxxxx/166578'
>
>   - name: 'default'
>
> In my 'community_a' theme, I have a community-page component
> In my 'collection_a' theme, I have a collection-page component and an
> item-page component.  The default theme has all themeable components.
>
> The problem I am having is that regardless of which community or
> collection to which an item belongs, it is themed by the item-page
> component in the 'collection_a' theme (the first one it encounters).
>
> My understanding was that items in collection_a are themed by the
> component I override there, and that the default theme takes care of
> everything else.
>
> Am I misunderstanding something, have I misconfigured something, or is
> this a bug?  Anybody else out there experimenting with multiple themes?
>
> Thanks for any advice!
> ~~Bill
> --
> Human wheels spin round and round
> While the clock keeps the pace... -- John Mellencamp
> ________________________________________________________________
> Bill Tantzen    University of Minnesota Libraries
> 612-626-9949 (U of M)    612-325-1777 (cell)
>


-- 
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp
________________________________________________________________
Bill Tantzen    University of Minnesota Libraries
612-626-9949 (U of M)    612-325-1777 (cell)

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CADgrb7FjrmSz%3DjnzficmzXJUVMkkYSJ0kZP2HDFj06MZR258HQ%40mail.gmail.com.

Reply via email to