[TYPO3] typo3 template depending content

joga email at welho.com
Tue Aug 26 12:23:24 CEST 2008


What is wrong with this TS?
I want to use different templatefile depending the content of the right 
column.
I couldn get these to work:
http://www.typo3wizard.com/en/snippets/general-config/template-depending-on-right-content.html 


Thanks!
---

temp.templatefile = FILE
temp.templatefile{
file = fileadmin/tmpl/template01.html
if.isTrue.numRows < styles.content.getRight
  {
     file = fileadmin/tmpl/template02.html
   }
}

###   Configuration of the auto template parser:   ###
plugin.tx_automaketemplate_pi1 {
   content < temp.templatefile


More information about the TYPO3-english mailing list