Editing pagination

48 views
Skip to first unread message

Marcos Cristofalo

unread,
Nov 15, 2023, 5:43:23 PM11/15/23
to DSpace Community
Hello guys, pleasure to get in contact.

I'm working on a personalized theme for a client on DSpace 7.0 and im pretty stuck on editing pagination component.

I copied the component to my custom theme and added to eager file of the themes and have no luck reflecting my changes to the component.

The same changes I apply to the main component (app/shared/pagination) to test this out and they  apply.

Can someone possibly guide me towards whether this is possible in a custom theme??

DSpace Community

unread,
Nov 16, 2023, 1:16:23 PM11/16/23
to DSpace Community
Hi,

Generally, it should be possible to override/edit any component in the DSpace 7 themes.  However, for more complex changes, it requires more complex Angular coding practices.  The overall approach is described in the documentation at https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization  However, that does *not* get into more complex changes.  There are some comments at the bottom of that page providing some examples of more complex changes.  Other examples can be found in past webinars on customizing DSpace such as this one: https://wiki.lyrasis.org/display/DSPACE/2022-11+-+DSpace+7.4+Webinar+Series 

I'd also highly recommend working with DSpace 7.6 (or 7.6.1) if possible.  DSpace 7.0 had a slightly different theming structure than later releases, so a theme built for 7.0 may not work properly in 7.6 (it will require updates whenever you upgrade).  It'd be better to start with 7.6.x if you can.

If you need more specific help, then I'd recommend sharing more information about the errors you've received.  You may also wish to move this discussion to our developer list at https://groups.google.com/g/dspace-devel since it seems to be a development question.

Tim
Reply all
Reply to author
Forward
0 new messages