Files
typo3-13/config/sites/ser/config.yaml
T
frommeandClaude Opus 5.5 ca2fdc1e13 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]>
2026-10-22 14:19:53 +02:00

97 lines
2.5 KiB
YAML

base: 'https://www.semesterende-skireisen.de'
baseVariants:
-
base: 'https://ser-ep13.ddev.site'
condition: 'applicationContext == "Development"'
errorHandling:
-
errorCode: 404
errorHandler: Page
errorContentSource: 't3://page?uid=2403'
languages:
-
title: Deutsch
enabled: true
base: /
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
websiteTitle: ''
navigationTitle: Deutsch
hreflang: de
direction: ''
flag: de
languageId: 0
rootPageId: 2395
routeEnhancers:
ProductDetailPlugin:
type: Extbase
extension: EpProducts
plugin: product_detail
routes:
-
routePath: '/detail/{product}'
_controller: 'Product::detail'
_arguments:
product: product
-
routePath: '/detail/{product_uid}/{hotel_uid}'
_controller: 'Product::detail'
_arguments:
product_uid: product
hotel_uid: hotel
-
routePath: '/detail/{product}/{hotel}'
_controller: 'Product::detail'
_arguments:
product: product
hotel: hotel
-
routePath: '/detail/{date_from}/{date_to}'
_controller: 'Product::detail'
_arguments:
date_from: dateFrom
date_to: dateTo
defaultController: 'Product::detail'
aspects:
product:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_product
routeFieldName: path_segment
hotel:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_hotel
routeFieldName: path_segment
product_uid:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_product
routeFieldName: uid
hotel_uid:
type: PersistedAliasMapper
tableName: tx_epproducts_domain_model_hotel
routeFieldName: uid
date_from:
type: PassthroughMapper
date_to:
type: PassthroughMapper
requirements:
product_uid: \d+
hotel_uid: \d+
date_from: '\d{4}\-\d{2}\-\d{2}'
date_to: '\d{4}\-\d{2}\-\d{2}'
# Only for the form, captcha and snow report page types; default '' keeps the URLs without trailing slash
PageTypeSuffix:
type: PageType
default: ''
index: ''
map:
/form: 1704
/captcha: 3413
/snowreport: 1705
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
websiteTitle: 'Semsterende Skireisen'