简体   繁体   中英

Typo3 Neos TypoScript not found

I intalled typo3 neos and changed the layout "For this page only" to 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:

// 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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