Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Frontend shortcut behaviour for folder nodes not as expected #19

@batabana

Description

@batabana

Thx for the package! One thing that didn't work for me was the frontend behaviour of the folders -> when accessing a route of a folder in the frontend I was not redirected to the parent but instead kept getting the backend shortcut message ("This is a shortcut to the parent page. Click ___ to continue to the page.").

We found two options to fix this:

  • Use Neos.Neos:Shortcut as supertype for the folder nodetype. Works in the frontend but overwrites the package intended behaviour in the backend (folder nodetypes are rendered as standard shortcuts in the backend).
  • Overwrite the Breadlesscode.NodeTypes.Folder:Document.Folder prototype, something along the lines below. Didn't seem right to mock the shortcut behaviour like this, so I decided for the first option in my case.
    default {
        renderer >
        renderer = Neos.Fusion:Http.Message {
            httpResponseHead {
                statusCode = 302
                headers.Location = Neos.Neos:NodeUri {
                    node = ${q(documentNode).parent().get()}
                }
            }
        }
    }

I'm not completely sure if this is just an issue of me not using the package correctly or if other people are using workarounds like this as well and what a good solution could be.

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