![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
|
|
#7 |
|
Senior Member
|
Я же вроде дал четко кусок ВАШЕГО кода, куда поставить orderBy...
Вот целиком, тогда: Код:
workOnSubpart = DOCUMENT
marks {
IMAGES = COA_INT
IMAGES {
10 = CONTENT
10 {
table = tt_content
select {
pidInList = 17
// Добавить:
orderBy = RAND()
max = 5
}
renderObj < tt_content.image.20
renderObj.maxW = 900
renderObj.maxWInText = 900
renderObj.spaceBelowAbove = 0
renderObj.colSpace = 0
renderObj.rowSpace = 0
renderObj.borderThick = 0
renderObj.textMargin = 0
renderObj.renderMethod = table
// renderObj.noStyle = 1
}
// end of CONTENT
// }
}
// end of IMAGES
// ...
}
// end of marks
|
|
|
|