Hallo,
ich mach erste Versuche mit Neos; Hab das Demopackage genommen und will noch ein Alternativlayout hinzufügen, aber es taucht nicht auf in der Selectbox zum Zuweisen.
ich hab mich an diese Anleitung gehalten:
http://docs.typo3.org/neos/TYPO3NeosDocumentation/IntegratorsCookbook/SelectingPageTemplate.html
Packages/Sites/TYPO3.NeosDemoTypo3Org/Configuration/NodeTypes.yaml
'TYPO3.Neos.NodeTypes:Page':
childNodes:
'teaser':
type: 'TYPO3.Neos:ContentCollection'
properties:
'layout':
ui:
inspector:
editorOptions:
values:
'default':
label: 'Default'
'landingPage':
label: 'Landing page'
'sabinePage':
label: 'Sabine test page'
Packages/Sites/TYPO3.NeosDemoTypo3Org/Private/Typoscripts/Library/Roots.ts2
//...
default < page
// Special page layout with less navigation components
landingPage < page
landingPage.body {
// Hide breadcrumb on landing pages
parts.breadcrumb >
landingPage = ${true}
}
// Special page layout with less navigation components
sabinePage < page
sabinePage.body {
// Hide breadcrumb on landing pages
parts.breadcrumb >
}
//...
und als nix passiert ist hab ich auch schon das cache gelöscht:
./flow flow:cache:flush
und zur sicherheit noch
FLOW_CONTEXT=Production ./flow flow:cache:flush
Immer noch nichts.
Weiter unten in der Doku steht noch was von
The implementation internal of the layout rendering can be found in the file:
TYPO3.Neos/Resources/Private/TypoScript/DefaultTypoScript.ts2
The element root.layout is the one responsible for handling the layout. So when trying to change the layout handling this is the TypoScript object to manipulate.
aber ich kann die datei nirgends entdecken.
könnte jemand mir bitte kurz nen Tipp geben?