Skip to content

Cannot create link to a collectives page from within a page template #2665

Description

@weberdigital

Describe the bug
When editing a page template, it is not possible to create a normal inline text link to an already existing page within the same collective.

Selecting text and opening the link menu only offers:

  • "Link to file or folder" (opens the generic Nextcloud Files picker)
  • "Link to website"
  • "Open Smart Picker"

None of these provide a way to search for and link to a page within the current collective the way "Link to page" does when editing a regular (non-template) page.

To Reproduce

  1. Open a collective that has at least one page.
  2. Go to "Manage templates" and create/open a template.
  3. In the template, select a word.
  4. Click the link icon in the toolbar.
  5. Try to find an option to link to a page within the collective — no such option is available.

Expected behavior
It should be possible to select text in a template and create a plain inline link ([word](url)) pointing to an existing page in the same collective.

Screenshots
Image

Server details:

  • Collectives app version: 4.4.2
  • Nextcloud version: 34.0.2
  • PHP Version: 8.4
  • Database: MariaDB 10.11.18

Client details:

  • OS: Windows
  • Browser: Chrome
  • Browser version: 150.0.7871.187
  • Device: Desktop

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions