Random Content
Inhalte zufällig auslesen
temp.random-content = COA_INT
temp.random-content {
10 = CONTENT
10 {
table = tt_content
select {
selectFields = *, rand() as virt_rnd
# UID of the page with the content elements
pidInList = 9
where = colPos=0
# amount of content elements to find
max = 1
# randomize
orderBy = virt_rnd
# constrain by language
languageField = sys_language_uid
}
}
}