Hallo,
ich wie in meinem anderen Thread zu lesen ist, habe ich 2 Designtemplates, die in Abhängingkeit vom Inhalt gewählt werden sollen. Das klappt soweit auch, ich weiß jetzt nur nicht mehr wie ich die Marker ansprechen soll.
Mit folgendem TS hab ich es versucht:
temp.maintemplate= COA
temp.maintemplate {
10 = COA
10 {
if.isTrue.numRows < styles.content.getRight
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/content.html
workOnSubpart = OUTPUT
}
}
20 = COA
20 {
if.isFalse.numRows < styles.content.getRight
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/content2.html
workOnSubpart = OUTPUT
}
}
}
page.10 < temp.maintemplate
page.10{
marks.CONTENT < styles.content.get
}
Die Templates werden richtig zugeordnet aber die Marker bekommen keine Werte.