chore: retire the snow report and search bar islands
They only served the static pages of the hybrid setup, which are retired: TYPO3 13 renders search bar and snow reports in the page itself. Removed are the page types 1705 (/snowreport) and 1706/1707 (/searchbar, /searchbar-collapsed), their PageType enhancer entries and the id wrapper of the snow report list that the static pages selected. Also gone: the remarks about static pages and docroots in ReferrerMiddleware and .htaccess. The form page type (/form, 1704) stays for now; forms move off it in a separate step. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f0b23b37b9
commit
114a45aed3
10 files changed
+46
-116
No files matched your search
@@ -1,25 +0,0 @@
|
||||
# The search bar without the page around it, on the site root (/searchbar, /searchbar-collapsed).
|
||||
# The static pages of the hybrid setup load it with htmx where the export had the bar: it is the
|
||||
# same on every page of a site, and its options follow the imported products (ep:import-dates
|
||||
# flushes the page cache). The form sends its fields by GET to the search page.
|
||||
|
||||
tx_eptheme_searchbar = PAGE
|
||||
tx_eptheme_searchbar {
|
||||
typeNum = 1706
|
||||
config {
|
||||
disableAllHeaderCode = 1
|
||||
disablePrefixComment = 1
|
||||
additionalHeaders.10.header = Content-Type: text/html; charset=utf-8
|
||||
additionalHeaders.20.header = X-Robots-Tag: noindex, nofollow
|
||||
admPanel = 0
|
||||
debug = 0
|
||||
}
|
||||
|
||||
10 =< lib.searchBar
|
||||
}
|
||||
|
||||
tx_eptheme_searchbar_collapsed < tx_eptheme_searchbar
|
||||
tx_eptheme_searchbar_collapsed {
|
||||
typeNum = 1707
|
||||
10 =< lib.searchBarCollapsed
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
# The snow reports of a page without the page around them (/path/snowreport). The static pages of
|
||||
# the hybrid setup load this with htmx and replace the snow reports of the export with it: the
|
||||
# page URL itself is a static file that never reaches TYPO3, and the snow reports are imported
|
||||
# daily (ep:import-snowreport, which flushes the page cache). Each list carries
|
||||
# id="snowreport-<content uid>" (Templates/Snowreport/List.html) for hx-select.
|
||||
|
||||
tx_eptheme_snowreport = PAGE
|
||||
tx_eptheme_snowreport {
|
||||
typeNum = 1705
|
||||
config {
|
||||
disableAllHeaderCode = 1
|
||||
disablePrefixComment = 1
|
||||
additionalHeaders.10.header = Content-Type: text/html; charset=utf-8
|
||||
additionalHeaders.20.header = X-Robots-Tag: noindex, nofollow
|
||||
admPanel = 0
|
||||
debug = 0
|
||||
}
|
||||
|
||||
10 = CONTENT
|
||||
10 {
|
||||
table = tt_content
|
||||
select {
|
||||
where = {#CType} = 'list' AND {#list_type} = 'epproducts_snowreport_list'
|
||||
orderBy = sorting
|
||||
}
|
||||
# Only the plugin: header and frame stay on the static page
|
||||
renderObj =< tt_content.list.20.epproducts_snowreport_list
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user