Skip to content

Instantly share code, notes, and snippets.

@kitsunet
Created July 25, 2013 13:01
Show Gist options
  • Select an option

  • Save kitsunet/6079388 to your computer and use it in GitHub Desktop.

Select an option

Save kitsunet/6079388 to your computer and use it in GitHub Desktop.
prototype(Your.Package:StartingPoint.De) < prototype(TYPO3.TypoScript:Value) {
value = ${q(site).children('de').children('artikel').get(0)}
}
prototype(Your.Package:StartingPoint.En) < prototype(TYPO3.TypoScript:Value) {
value = ${q(site).children('en).children('article').get(0)}
}
@pumatertion
Copy link

ich hätte jetzt das hier vermuted fuer die besprochene case:
startingPoint = TYPO3.TypoScript:Case
startingPoint{
en{
condition = $(q(node).property('language'))
type = TYPO3.TypoScript:Value
type.value = ${q(site).children(q(node).property('language')).children('articles').get(0)}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment