Skip to content

Instantly share code, notes, and snippets.

@pille72
Created August 26, 2015 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pille72/3510a40a33fd37da6f6f to your computer and use it in GitHub Desktop.
Save pille72/3510a40a33fd37da6f6f to your computer and use it in GitHub Desktop.
Some TypoScript test
lib.firstMagazine = CONTENT
lib.firstMagazine {
table = pages
select {
selectFields = uid
pidInList = 1
orderBy = sorting
max = 1
}
renderObj = COA
renderObj {
10 = TEXT
10 {
value.field = uid
}
}
}
lib.currentMagazine = CONTENT
lib.currentMagazine {
table = pages
select {
selectFields = uid
pidInList < lib.firstMagazine
orderBy = sorting
max = 1
}
renderObj = COA
renderObj {
10 = TEXT
10 {
value.field = uid
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment