Project

General

Profile

Actions

Bug #104782

open

Content sliding breaks on hidden pages

Added by Felix Kleber 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-08-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I want to display content from parent pages further down the page tree. My page tree is as follows.

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
                            }
                        }
                    }
                }
            }
        }
    }
}


Files

clipboard-202408301120-0hvq1.png (10.8 KB) clipboard-202408301120-0hvq1.png Felix Kleber, 2024-08-30 09:20

No data to display

Actions

Also available in: Atom PDF