Skip to content

Instantly share code, notes, and snippets.

@pumatertion
Created July 25, 2013 13:15
Show Gist options
  • Save pumatertion/6079500 to your computer and use it in GitHub Desktop.
Save pumatertion/6079500 to your computer and use it in GitHub Desktop.
prototype(BLEICKER.Commerce:ArticleStartingPoint.De) < prototype(TYPO3.TypoScript:Value) {
value = ${q(site).children('de').children('artikel').get(0)}
}
prototype(BLEICKER.Commerce:ArticleStartingPoint.En) < prototype(TYPO3.TypoScript:Value) {
value = ${q(site).children('en').children('articles').get(0)}
}
prototype(BLEICKER.Pipeu:ArticleTeaserList) < prototype(TYPO3.Neos.NodeTypes:Menu)
prototype(BLEICKER.Pipeu:ArticleTeaserList) {
#templatePath = 'resource://BLEICKER.Pipeu/Private/Templates/TypoScriptObjects/Menu.html'
#startingPoint = ${q(site).children(q(node).property('language')).children('articles').get(0)}
startingPoint = TYPO3.TypoScript:Case
startingPoint{
en{
condition = $(q(node).property('language'))
type = BLEICKER.Commerce:ArticleStartingPoint.En
}
default{
type = BLEICKER.Commerce:ArticleStartingPoint.En
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment