Damit wir in dem Bereich auch mal einen Eintrag haben, hier mal meine Root.ts2:
# includes: overwrite HTML of default NodeTypes
include: NodeTypes/Headline.ts2
include: NodeTypes/Text.ts2
include: NodeTypes/TextWithImage.ts2
include: NodeTypes/Search.ts2
/**
* Root TypoScript template for the Neos Site of EP:Kellner
*/
page = Page {
head {
stylesheets = TYPO3.TypoScript:Template
stylesheets {
templatePath = 'resource://In2code.Neos/Private/Templates/Page/Default.html'
sectionName = 'stylesheets'
}
scripts = TYPO3.TypoScript:Template
scripts {
templatePath = 'resource://In2code.Neos/Private/Templates/Page/Default.html'
sectionName = 'scripts'
}
}
body {
templatePath = 'resource://In2code.Neos/Private/Templates/Page/Default.html'
content {
main = ContentCollection
main.nodePath = 'main'
slide1 = ContentCollection
slide1.nodePath = 'slide1'
slide2 = ContentCollection
slide2.nodePath = 'slide2'
slide3 = ContentCollection
slide3.nodePath = 'slide3'
box1 = ContentCollection
box1.nodePath = 'box1'
box2 = ContentCollection
box2.nodePath = 'box2'
box3 = ContentCollection
box3.nodePath = 'box3'
}
parts {
mainMenu = Menu {
entryLevel = 1
maximumLevels = 2
templatePath = 'resource://In2code.Neos/Private/Templates/TypoScriptObjects/MainMenu.html'
}
headerMenu = Menu {
# Entry Level is needed!
entryLevel = 3
templatePath = 'resource://In2code.Neos/Private/Templates/TypoScriptObjects/HeaderMenu.html'
startingPoint = ${q(site).find('/sites/neos/misc/menu-head').get(0)}
}
footerMenu = Menu {
# Entry Level is needed!
entryLevel = 3
maximumLevels = 2
templatePath = 'resource://In2code.Neos/Private/Templates/TypoScriptObjects/FooterMenu.html'
startingPoint = ${q(site).find('/sites/neos/misc/menu-footer').get(0)}
}
}
}
}
# Default Layout
default < page
# Landing Page Layout
landingPage < page
landingPage.body {
templatePath = 'resource://In2code.Neos/Private/Templates/Page/Home.html'
}