Hi guys,
if i am add content dimensions and run ./flow node:repair this message always appear:
Could not find any site nodes in "/sites" root node
Roots.ts2:
page = Page {
head {
stylesheets.site = TYPO3.TypoScript:Template {
templatePath = 'resource://XY.xy/Private/Templates/Page/Default.html'
sectionName = 'stylesheets'
}
javascripts.site = TYPO3.TypoScript:Template {
templatePath = 'resource://XY.xy/Private/Templates/Page/Default.html'
sectionName = 'headScripts'
}
}
body {
templatePath = 'resource://XY.xy/Private/Templates/Page/Default.html'
sectionName = 'body'
parts {
main_menu = TYPO3.Neos:Menu {
templatePath = 'resource://XY.xy/Private/Templates/TypoScriptObjects/MainMenu.html'
current.attributes.class = 'active'
}
header_menu = TYPO3.Neos:Menu {
templatePath = 'resource://XY.xy/Private/Templates/TypoScriptObjects/HeaderMenu.html'
current.attributes.class = 'active'
startingPoint = ${q(site).children('[uriPathSegment="kopfmenu"]').get(0)}
entryLevel = 2
maximumLevels = 1
language_menu = TYPO3.Neos:DimensionsMenu {
dimension = 'language'
}
}
footer_menu = TYPO3.Neos:Menu {
templatePath = 'resource://XY.xy/Private/Templates/TypoScriptObjects/FooterMenu.html'
current.attributes.class = 'active'
startingPoint = ${q(site).children('[uriPathSegment="fussmenu"]').get(0)}
entryLevel = 2
maximumLevels = 1
}
breadcrumb = TYPO3.Neos:BreadcrumbMenu
footer = TYPO3.Neos:ContentCollection {
nodePath = ${q(site).find('footer').property('_path')}
collection = ${q(site).children('footer').children()}
}
}
// These are your content areas, you can define as many as you want, just name them and the nodePath.
content {
// The default content section
main = PrimaryContent {
nodePath = 'main'
}
}
javascripts.site = TYPO3.TypoScript:Template {
templatePath = 'resource://XY.xy/Private/Templates/Page/Default.html'
sectionName = 'bodyScripts'
}
}
}
Settings.yaml:
TYPO3:
TYPO3CR:
contentDimensions:
'language':
label: 'Sprache'
default: 'de'
defaultPreset: 'de'
presets:
'de':
label: 'Deutsch'
values: ['de']
uriSegment: 'de'
'en':
label: 'English'
values: ['en', 'de']
uriSegment: 'en'
'fr':
label: 'Français'
values: ['fr', 'de']
uriSegment: 'fr'
NodeTypes.yaml
'TYPO3.Neos.NodeTypes:Page':
childNodes:
'footer':
position: 'end'
type: 'TYPO3.Neos:ContentCollection'
constraints:
nodeTypes:
'*': FALSE
'TYPO3.Neos.NodeTypes:Text': TRUE
I have no idea whats the problem. If i delete Settings.yaml and run ./flow node:repair everything is fine…
Please help me! (Neos 2.2.5)