Hallo Hacki,
ich denke, das müsste gehen. Eine if-Abfrage dürfte dir die Lösung bringen. Hab´s selber noch nicht getestet, stell es mir aber syntaktisch etwa so vor:temp.tplSwitch= COA
temp.tplSwitch {
10 = COA
10 {
if.isTrue {
numRows.table = pages
select.pidInList.data = leveluid:1
}
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/html/tmplEins.html
}
}
20 = COA
20 {
if.isFalse.numRows {
numRows.table = pages
select.pidInList.data = leveluid:1
}
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/html/tmplZwei.html
}
}
}Gruß
longhook




LinkBack URL
About LinkBacks
Zitieren
Lesezeichen