[TYPO3] typo3 template depending content
joga
email at welho.com
Tue Sep 2 09:54:22 CEST 2008
If you use automaketemplate:
temp.resource = COA
temp.resource {
10 = COA
10 {
if.isTrue.numRows < styles.content.getRight
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/tmpl/tmpl01.html
}
}
20 = COA
20 {
if.isFalse.numRows < styles.content.getRight
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/tmpl/tmpl02.html
}
}
}
### Configuration of the auto template parser: ###
plugin.tx_automaketemplate_pi1 {
content < temp.resource
More information about the TYPO3-english
mailing list