我有一个自己的 DCE 元素,我想在起始页上显示一个随机元素。当我通过and
选择 CType 时,我必须输入一个.
但我想要整个站点的 CE,而不是特定的 uid。 10 = CONTENT
select
pidInList
我如何在 sql 语句中禁用它?
我当前的代码:
10 = CONTENT
10 {
table = tt_content
select {
selectFields = *, rand() as virt_rnd
pidInList = *
where = colPos=0 and CType=dce_ref
max = 1
orderBy = virt_rnd
languageField = sys_language_uid
}