#104782Content sliding breaks on hidden pages
Description
I want to display content from parent pages further down the page tree. My page tree is as follows.
clipboard-202408301120-0hvq1.png
The “Page With Slideable Content” has the content I want to inherit in the header column (content_header, colPos = 1). Sliding works on the indicated pages in the page tree, i. e. the direct subpages and the deactivated subpage “sliding works as well”. It, however, does not work on the active subpage “sliding does not work”
So when we have an active page, a deactivated subpage, then an active subpage on the deactivated page, the content sliding breaks. The variables content_header and content_footer are then empty.
This also happens on older TYPO3 version, such as the latest 11 LTS.
Page config:
page = PAGE
page {
10 = FLUIDTEMPLATE
10 < lib.defaultPaths
10 {
templateName = Default
variables {
content_main < styles.content.get
content_main.select.where = {#colPos}=0
content_header < styles.content.get
content_header.select.where = {#colPos}=1
content_header.slide = -1
content_footer < styles.content.get
content_footer.select.where = {#colPos}=2
content_footer.slide = -1
}
}
}
Backend Layout config:
mod.web_layout.BackendLayouts {
standard {
title = Standard
config {
backend_layout {
colCount = 1
rowCount = 3
rows {
1 {
columns {
1 {
name = Header
colPos = 1
}
}
}
2 {
columns {
1 {
name = Main
colPos = 0
}
}
}
3 {
columns {
1 {
name = Footer
colPos = 2
}
}
}
}
}
}
}
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Content sliding breaks on hidden pages Resolves: #104782 Releases: main