Sitegeist.MoveAlong
Configure fallback nodes in case of 404
Install / Use
/learn @sitegeist/Sitegeist.MoveAlongREADME
DEPRECTAED The solution was added to the Neos Core in version 4.3 see https://neos.readthedocs.io/en/stable/Appendixes/ReleaseNotes/430.html?highlight=error#native-404-error-rendering-that-can-be-controlled-via-fusion
Sitegeist.MoveAlong
Render 4xx status pages via fusion
Configuration
The status codes that are handled via fusion error-rendering can be controlled via settings.
Neos:
Flow:
error:
exceptionHandler:
renderingGroups:
notFoundExceptions:
matchingStatusCodes: [ 403, 404, 410 ]
The fusion code that actually renders the error-message.
#
# Main error matcher
#
error = Neos.Fusion:Case {
#
# Find the document to render in case of 404
#
@context.notFoundDocument = ${q(site).children('[instanceof Neos.Neos:Document]').filter('[uriPathSegment="404"]').get(0)}
#
# Custom matcher for 404 status
#
4xx {
@position = 'start'
condition = ${statusCode >= 400 && statusCode < 500 && notFoundDocument}
renderer = Neos.Fusion:Renderer {
@context.node = ${notFoundDocument}
@context.documentNode = ${notFoundDocument}
renderPath = '/root'
}
}
#
# Default rendering of classic error-message
#
default {
@position = 'end 9999'
condition = true
renderer = Sitegeist.MoveAlong:ErrorMessage
}
}
Authors & Sponsors
- Wilhelm Behncke - behncke@sitegeist.de
- Martin Ficzel - ficzel@sitegeist.de
The development and the public-releases of this package is generously sponsored by our employer http://www.sitegeist.de.
Installation
Sitegeist.MoveAlong is available via packagist. Just run composer require sitegeist/movealong. We use semantic-versioning so every breaking change will increase the major-version number.
License
see LICENSE file
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
