Skip to content

How to have different announcement sources within the same portal? #200

@arnaldotema

Description

@arnaldotema

Hi there, is it possible to have two distinct frontend announcement areas within the same portal?

  • I tried to create announcements.ts and announcements-product.ts in backend/src/plugins and
  • Added distinct paths to App.tsx as:
<Route path="/announcements" element={<AnnouncementsPage />} />
<Route path="/product/announcements" element={<AnnouncementsPage />} />
  • And also added those two distinct routes to backend/src/index.ts apiRouter.use(...

I didn't check if the full link works, regardless, since AnnouncementsCard takes no context input, I suspect it will look for only one backend source, and therefore making impossible to have two different announcement card areas, pulling from different databases, within the same page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions