Hello everyone,

I think I found the reason. I followed the guide of how to create your own 
themed components 
at https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization

This step seems not to have been completed for ds-thumbnail:

> Replace any existing reference to the original component with a reference 
to the themed version: e.g. swap <ds-root> with <ds-themed-root> in 
app.component.html 
<https://github.com/DSpace/dspace-angular/blob/899b30213e748422dcd2836535c5baba14809219/src/app/app.component.html#L1>

After I replace "<ds-thumbnail>...</ds-thumbnail>" with 
"<ds-themed-thumbnail>...</ds-themed-thumbnail>" in /src/app and 
/src/themes/my-theme the changes in my custom HTML-page appear.

Was this the right fix and would this be worth a pull request for version 7?

Regards
Johannes

schu...@effective-webwork.de schrieb am Donnerstag, 7. November 2024 um 
16:49:48 UTC+1:

> Hello Arun,
>
> I'm experiencing the same behaviour. Did you find any solution for this?
>
> Regards
> Johannes
>
> Arun Tom Skariah schrieb am Montag, 25. März 2024 um 03:28:33 UTC+1:
>
>> Hello everyone,
>>
>> I am currently trying to customize the thumbnail component within my own 
>> theme. But for some reason, the changes I made in my own theme are not 
>> picked up for the thumbnail component. Instead the  thumbnail component 
>> from the base theme is being displayed. 
>>
>> I followed the steps during implemetation:
>>
>> - Create a folder in 'myTheme' that matches the thumbnail component 
>> folder from the custom directory (
>> https://github.com/DSpace/dspace-angular/tree/dspace-7.6.1/src/themes/custom/app/thumbnail
>> )
>> - Updated the template url to   templateUrl: './thumbnail.component.html'
>> ,
>> - Registered the component folder in lazy-theme.module.ts for 'myTheme'
>> - Re-build the UI
>>
>> Anyone ran into something similar or have an idea what I might have done 
>> wrong?
>>
>> Cheers,
>> Arun
>>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/e9e52232-f847-431b-ad83-95f6f0fce724n%40googlegroups.com.

Reply via email to