feat: snow reports on TYPO3 13, with a page type for the static pages
The snow report list ("Schneehöhen" plugin) is ported from TYPO3 10:
SnowreportController, SnowreportRepository::getSnowreportsForRegions(),
the plugin registration with its flexform (regions) and the template,
which now formats dates with d.m.Y.
Page type 1705 (/<page>/snowreport) renders only the snow report plugins
of a page, like /form for forms. The static pages of the hybrid setup can
load it to replace the snow reports frozen at export time; each list
carries id="snowreport-<content uid>" for hx-select, since TYPO3 10 gives
the plugin no element of its own. ep:import-snowreport already flushes
the page cache after each import. The suffix is in the PageType enhancer
of every site with snow reports.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat: the snow report box includes the spacing of its content element
id="snowreport-<content uid>" moves from the list to a wrapper around
ep:container. The static pages of the hybrid setup no longer export the
snow reports at all, only an empty placeholder that loads the whole box,
spacing included, from /<page>/snowreport, so a page never shows
outdated snow depths.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
62f3bee230
commit
ca2fdc1e13
12 files changed
+211
-1
No files matched your search
@@ -79,7 +79,7 @@ routeEnhancers:
|
||||
hotel_uid: \d+
|
||||
date_from: '\d{4}\-\d{2}\-\d{2}'
|
||||
date_to: '\d{4}\-\d{2}\-\d{2}'
|
||||
# Only for the form and captcha page types; default '' keeps the URLs without trailing slash
|
||||
# Only for the form, captcha and snow report page types; default '' keeps the URLs without trailing slash
|
||||
PageTypeSuffix:
|
||||
type: PageType
|
||||
default: ''
|
||||
@@ -87,6 +87,7 @@ routeEnhancers:
|
||||
map:
|
||||
/form: 1704
|
||||
/captcha: 3413
|
||||
/snowreport: 1705
|
||||
routes:
|
||||
-
|
||||
route: robots.txt
|
||||
|
||||
Reference in new issue
Block a user