

Nimmt das 1. Template wenn in der rechten spalte ein Inhalt vorhanden ist, ansonsten das 2.
temp.maintemplate= COA temp.maintemplate { 10 = COA 10 { if.isTrue.numRows < styles.content.getRight 10 = TEMPLATE 10 { template = FILE template.file = fileadmin/templates/template-2column.html } } 20 = COA 20 { if.isFalse.numRows < styles.content.getRight 10 = TEMPLATE 10 { template = FILE template.file = fileadmin/templates/template.html } } }




plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = ???
Also, wie bekomme ich den Pfad von temp-maintemplate in content.file?
rene
PS bitte eine Mail an mich, falls jemand die Antwort weiß!
plugin.tx_automaketemplate_pi1 {
content = COA
content < temp.maintemplate
...
}
Gruß rene
Add comment