mask icon indicating copy to clipboard operation
mask copied to clipboard

Content sliding problem when using mask

Open user123801 opened this issue 1 year ago • 2 comments

PHP 8.2.18 TYPO3 12.4.17 mask 8.3.11

This is the page tree I use for this. screenshot

When setting up a TYPO3 project with mask and setting slide = -1 for one of my columns in the backend and then setting a page to hidden = 1, then creating a subpage below the hidden page, it does not inherit the content from the page "Home" to the page "subpage". Content sliding from the page "Home" to "page1" works just fine.

Typoscript:

page = PAGE
page {
    10 = FLUIDTEMPLATE

    templateRootPaths.0 = path/to/templates/
    layoutRootPaths.0 = path/to/layouts/
    partialRootPaths.0 = path/to/partials

    10 {
        # Template setzen
        templateName = Default

        variables {
            content_footer < styles.content.get
            content_footer.select.where = {#colPos}=2
            content_footer.slide = -1
        }
}

The only difference between this and my other projects is mask, so I suspect it has something to do with it. Although there weren't any errors in the log files. The variable content_footer is just empty on the page "subpage", but not empty on the other pages. The only content is on the page "Home".

Any idea how to fix this? Anyone else had this problem?

user123801 avatar Jul 30 '24 15:07 user123801

This doesn't have anything to do with Mask. It must be some other difference in your projects. It is "simply" TypoScript API where Mask is not involved at all besides providing the Content Element definition.

I don't know, this setup looks broken to me in the first place. What does it mean if a parent page is disabled? Right now TYPO3 allows to view subpages of it, if you don't extend access restrictions to subpages. I'm not sure what exactly happens if the rootline is built and a page is disabled in between. I need to have a look at the code.

Have you tried looking into the forge issue tracker of TYPO3?

nhovratov avatar Jul 30 '24 16:07 nhovratov

Thanks for the reply. I see.

A parent page is disabled if the field hidden is set to 1. As in if I do this: Bildschirmfoto 2024-07-31 um 08 15 46

If the setup looks broken, it might be because I only shared the relevant typoscript that should give me the variable and handle the content sliding. There is more typoscript, but it doesn't change any relevant settings for this, i. e. does not interfere with content sliding for this column.

And I did check the issue tracker, didn't give me any results on that.

user123801 avatar Jul 31 '24 06:07 user123801

I'll close this one, because this is TYPO3 Core behavior and not Mask. If you think this is a bug, please create an issue on forge.

nhovratov avatar May 16 '25 18:05 nhovratov