Created
August 26, 2015 09:17
-
-
Save pille72/3510a40a33fd37da6f6f to your computer and use it in GitHub Desktop.
Some TypoScript test
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
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