Created
June 5, 2013 08:57
-
-
Save chanthornngeth/5712596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Root TypoScript template for the Site | |
*/ | |
page = Page | |
page.headerData { | |
metatags = TYPO3.TypoScript:Template | |
metatags { | |
templatePath = 'resource://MyPackage/Private/Templates/Page/Default.html' | |
sectionName = 'metatags' | |
description = ${q(node).property('description')} | |
} | |
stylesheets = TYPO3.TypoScript:Template | |
stylesheets { | |
templatePath = 'resource://MyPackage/Private/Templates/Page/Default.html' | |
sectionName = 'stylesheets' | |
} | |
javascripts = TYPO3.TypoScript:Template | |
javascripts { | |
templatePath = 'resource://MyPackage/Private/Templates/Page/Default.html' | |
sectionName = 'javascripts' | |
} | |
title = Template | |
title.templatePath = 'resource://MyPackage/Private/Templates/TypoScriptObjects/TitleMenu.html' | |
title.items = ${q(node).add(q(node).parents())} | |
title << 1.wrap(prefix:'<title>', suffix: '</title>') | |
title.siteTitle = ${q(node).property('siteTitle')} | |
} | |
page.@override.locale = 'de_DE' | |
page.locale = ${locale} | |
page.body { | |
templatePath = 'resource://MyPackage/Private/Templates/Page/Default.html' | |
sectionName = 'body' | |
parts { | |
menu = Menu | |
menu { | |
entryLevel = 2 | |
templatePath = 'resource://MyPackage/Private/Templates/TypoScriptObjects/MainMenu.html' | |
maximumLevels = 4 | |
} | |
siteMapMenu = Menu | |
siteMapMenu { | |
entryLevel = 2 | |
templatePath = 'resource://MyPackage/Private/Templates/TypoScriptObjects/SitemapMenu.html' | |
maximumLevels = 4 | |
} | |
breadcrumb = Template | |
breadcrumb.templatePath = 'resource://MyPackage/Private/Templates/TypoScriptObjects/BreadcrumbMenu.html' | |
breadcrumb.items = ${q(node).add(q(node).parents())} | |
} | |
// These are your content areas, you can define as many as you want, just name them and the nodePath. | |
sections { | |
main = Section | |
main.nodePath = 'main' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment