Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
带有Fluidtemplate和fluid样式内容的TYPO3 v8.5-部分无效_Typo3_Fluid Styled Content - Fatal编程技术网

带有Fluidtemplate和fluid样式内容的TYPO3 v8.5-部分无效

带有Fluidtemplate和fluid样式内容的TYPO3 v8.5-部分无效,typo3,fluid-styled-content,Typo3,Fluid Styled Content,我将TYPO3 v8.5与流体模板(布局、部分和模板)和流体样式的内容一起使用。 但是,一旦我在我的网站上创建了一个fsc元素,例如文本和媒体,就会忽略部分文件,并且只有模板文件中的部分会输出到FE中。 如果我将content元素设置为“hide”,那么在FE中输出正确的带有partials的站点结构 My root-template is: page = PAGE page.includeCSS { main = fileadmin/Demo/Resources/Public/Css/ma

我将TYPO3 v8.5与流体模板(布局、部分和模板)和流体样式的内容一起使用。 但是,一旦我在我的网站上创建了一个fsc元素,例如文本和媒体,就会忽略部分文件,并且只有模板文件中的部分会输出到FE中。 如果我将content元素设置为“hide”,那么在FE中输出正确的带有partials的站点结构

My root-template is:
page = PAGE
page.includeCSS {
  main = fileadmin/Demo/Resources/Public/Css/main.css
}
page.10 = FLUIDTEMPLATE
page.10 {
    layoutRootPaths {
        10 = fileadmin/Demo/Resources/Private/Layouts
        20 = fileadmin/Demo/Individual/Private/Layouts
    }
    partialRootPaths {
        10 = fileadmin/Demo/Resources/Private/Partials
        20 = fileadmin/Demo/Individual/Private/Partials
    }
    templateRootPaths {
        10 = fileadmin/Demo/Resources/Private/Templates
        20 = fileadmin/Demo/Individual/Private/Templates
    }
    variables {
        contentMain < styles.content.get
    }
    file.stdWrap.cObject = CASE
    file.stdWrap.cObject {
        key.data = pagelayout
        default = TEXT
        default.value = fileadmin/Demo/Resources/Private/Templates/DefaultTemplate.html
        pagets__1 < .default
    }
}

My page-TSconfig:
mod.web_layout.BackendLayouts {
    1 {
        title = Default Template
        config {
            backend_layout {
                colCount = 1
                rowCount = 1
                rows {
                    1 {
                        columns {
                            1 {
                                name = Main Content
                                colPos = 0
                            }
                        }
                    }
                }
            }
        }
    }
}

DefaultLayout.html :
<f:render partial="Header"/>
<f:render section="Main"/>
<f:render partial="Footer"/>


Footer.html :
<div class="footer-container">
  <footer class="wrapper">
    Hier steht der Footer-Text
  </footer>
</div>


Header.html :
<div class="header-container">
  <header class="wrapper clearfix">
    <h1 class="title">LOGO</h1>
    <nav>
      Hier erscheint die Navigation
    </nav>
  </header>
</div>


DefaultTemplate.html :
<f:layout name="DefaultLayout"/>
<f:section name="Main">
<div class="main-container">
  <div class="main wrapper clearfix">
    <article>
      <f:format.raw>{contentMain}</f:format.raw>
    </article>
  </div>
</div>
</f:section>
我的根模板是:
第页
第页,共页{
main=fileadmin/Demo/Resources/Public/Css/main.Css
}
第10页=FLUIDTEMPLATE
第9.10页{
铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路铺路{
10=文件管理员/演示/资源/专用/布局
20=文件管理员/演示/个人/私人/布局
}
部分根路径{
10=文件管理员/演示/资源/专用/部分
20=文件管理员/演示/个人/私人/部分
}
模板脚架{
10=文件管理员/演示/资源/专用/模板
20=文件管理员/演示/个人/私人/模板
}
变数{
contentMain
是否有人知道这种行为,并能告诉我代码有什么问题。
在TYPO3 v7.6中,这段代码运行良好。

关于这个问题,目前存在一个公开的bug(请参阅)。尝试将您的分区重命名为一种解决方法,直到修复为止。

关于此问题,当前存在一个未解决的bug(请参阅)。尝试将您的分区重命名为一种解决方法,直到修复为止。

解决此问题的任何ETA?这似乎仍然出现在8.7.2中,如果你有很多预先准备好的定制CEs,这将是一个严重的交易破坏者。有没有解决这个问题的ETA?这似乎仍然出现在8.7.2中,如果您有很多预先准备好的定制CE,这将严重破坏交易。。