[TYPO3-english] Inheritance in TypoScript

Tapio Markula tapio.markula at xetpoint.fi
Thu Feb 19 12:26:10 CET 2009


This TS defines conditionally a HTML tag

10.stdWrap.dataWrap=<td width="180px" align="center" valign="top" 
class="colBorders" bgcolor="#{field:taustavari}" rowspan="2">
10.if.isTrue.field = taustavari
20.value=<td width="180px" align="center" valign="top" 
class="colBorders" bgcolor="#9FB518" rowspan="2">
20.if.isFalse.field = taustavari

concerningt the object 10 customer woulk like that to be inherited from 
parent page so that if some page in the rootline would have the color 
definition, it would be inherited to the current page.
So if the default color would not be the desired color, it would not 
needed to define the color (taustavari = background color) in every page.

That is for a newletter, where it is safer to use HTML attributes than CSS.

More information about the TYPO3-english mailing list