Customization of DSpace 7 // /shared folder

802 views
Skip to first unread message

Vasilii Fedorov

unread,
Jul 26, 2021, 12:40:39 PM7/26/21
to DSpace Developers
Hi all :)

we are using DSpace 7 and trying to customize it. This question is regarding angular UI for DSpace 7.

According to guidelines provided by https://wiki.lyrasis.org/display/DSPACE/DSpace+UI+Design+principles+and+guidelines and https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization I copied the /custom folder to work on it. Now I want to change the template of search-form.component.html  which is not placed in my copied /custom folder. Instead it is in /src/app/shared/search-form/search-form.component.html. Should I copy the entire /shared folder from base theme to work on it? Or should I copy just the component that I am interested in?

I supposed the second option and went like this. I also copied shared.module.ts file to my new /shared folder. In this file I changed import of my component to import { SearchFormComponent } from './search-form/search-form.component'; I also changed import of /shared folder to import { SharedModule } from './app/shared/shared.module'; in my theme.module.ts file.

When all this done, I do not see changes in browser when I perform changes in search-form.component.html. 

Am I missing something? Maybe I am missing some reference or import?

I would very appreciate your help!

Best regards,
Vasilii
Reply all
Reply to author
Forward
0 new messages