Hallo, wieso klappt das bei mir nicht?
temp.templateTemplate {
template = FILE
template.file = fileadmin/static/template.html
workOnSubpart = DOCUMENT
marks {
CCENTER = COA
CCENTER {
stdWrap.cObject < styles.content.get
stdWrap.ifEmpty.cObject = RECORDS
stdWrap.ifEmpty.cObject {
tables = tt_content
source = 48
dontCheckPid = 1
}
}
eine schnellsuche nach "ifEmpty" hat folgendes ergeben ->
#61982
ich hätte natürlich auch sagen können "benutz mal die suche".
aber das kommt ja nicht so gut.
es heißt übrigens außerdem
...
table = tt_content
...
Danke, dieser Link hat geholfen, weil er so gut kommentiert ist. Ich hab nur andere gefunden.
Hier die Lösung:
CCENTER = COA
CCENTER {
10 < styles.content.get
10.stdWrap.ifEmpty.cObject = CONTENT
10.stdWrap.ifEmpty.cObject {
table = tt_content
select {
pidInList = 35
orderBy = sorting
where = colPos = 0
}
}
}