New dropdown menu no longer functional (Dspace 8)

41 views
Skip to first unread message

Amanda Alcantara

unread,
Jul 11, 2024, 9:49:02 AM7/11/24
to DSpace Technical Support
Hello, I am on a team that was working on transfering from Dspace 6 to 7 and now to dspace 7 to 8. On our websites, we need an additional dropdown menu in order to store important documents, and we found a tutorial on this group and this link (https://github.com/FlorPlanton/dspace7.6Dropdpown) Explaining how. But this no longer functions after the transition from dspace 7 to 8. After some modifications in order to fit the new criteria of independent components, it was possible to see the menu, but it simply isn't functional: The dropdown doesn't happen and clicking on it leads nowhere.

Does anyone know how to make the dropdown happen again?

Thanks for your support.

DSpace Technical Support

unread,
Jul 15, 2024, 12:08:16 PM7/15/24
to DSpace Technical Support
Hi,

Since this is custom code, you likely will need to reach out to the developer about getting it working again.  My best guess though is that code example was written for an older version of Angular (as DSpace 7 used Angular 15).   With DSpace 8, the software now uses Angular 17 with Standalone Components.  So, it's likely this code needs to be migrated to standalone components as well.

For more information on Angular Standalone Components, see https://v17.angular.io/guide/standalone-components

Angular also has a guide for how to migrate old components into standalone components: https://angular.dev/reference/migrations/standalone

Tim
Reply all
Reply to author
Forward
0 new messages