简体   繁体   English

找不到Typo3 Neos TypoScript

[英]Typo3 Neos TypoScript not found

I intalled typo3 neos and changed the layout "For this page only" to LandingPage. 我安装了typo3 neos,并将布局“仅此页面”更改为LandingPage。 Afterwards I saw this error 之后我看到了这个错误

Exception while rendering
landingPage:
No "landingPage" TypoScript object found. Please make sure to define one in your TypoScript configuration. (20140116115503dac096)

How can I fix this? 我怎样才能解决这个问题?

Open [...]Sites/Your.Package/Resources/Private/TypoScript/Library/Roots.ts2 and add the following code: 打开[...]站点/您的包/资源/私人/ TypoScript /库/Roots.ts2,然后添加以下代码:

// Special page layout with less navigation components
landingPage < page
landingPage.body {
    // Hide breadcrumb on landing pages
    parts.breadcrumb >
    landingPage = ${true}
}

Now the UI should load again. 现在,UI应该再次加载。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM