Skip to content

Is it possible to add custom routes from a theme in DSpace 9? #4934

@KaikySantos

Description

@KaikySantos

I’m working on a custom theme in DSpace 9.1 and I need to create new pages with custom routes.

I found a discussion from 2023 regarding DSpace 7 where several developers mentioned that it was not possible to add custom Angular routes directly from a theme (e.g., creating new static pages like “About”, “FAQ”, etc.). At that time, the only solution was to modify the core app-routing.module.ts, which was considered a workaround rather than a proper extension point.

Now that we’re in 2025 and DSpace is at version 9.1, I would like to know:

Is it still the case that custom routes cannot be defined from a theme?
Or has any official mechanism been added since then to allow themes to register new routes/modules without editing the base Angular code?

Just trying to confirm the current state before proceeding with local changes.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions