Dspace (Default) them customisation

48 views
Skip to first unread message

Anand chavan

unread,
Jul 19, 2023, 7:55:41 AM7/19/23
to DSpace Community
Dear All,

I am trying to edit the default dspace theme but somehow its not reflecting.
edited the following file 
/dspace-angular-dspace-7.6/src/themes/dspace/app/home-page/home-news/home-news.component.html

also the header html file as same as above one but nothing is reflecting.

also treid in the yarn development mode but no help.

If anyone knows whats happening please let me know.

Anand.

DSpace Community

unread,
Jul 21, 2023, 3:27:28 PM7/21/23
to DSpace Community
Hi Anand,

I think we'd need more information on what you've tried.  Assuming you have your UI configured to use the "dspace" theme (in your config.dev.yml) and are running the site in development mode (yarn start:dev), then you should see the site automatically rebuild & update anytime you make a small change to that "home-news.component.html".  Sometimes it may take a few minutes for the rebuild to occur, but you should see that your console window (where you ran "yarn start:dev") will detect that you've saved changes to that file, and then say it is rebuilding.  Once it completes, you should see the changes in your browser.

You also may want to ensure that your browser itself is not simply caching the old page.  You can try a hard refresh (hold down "Ctrl" key and click reload in your browser window), or you could open up a new browser window in "Incognito Mode".  Based on your browser settings, it's possible the browser is simply displaying the old page, even though it's been updated successfully.

Tim

Reply all
Reply to author
Forward
0 new messages