[TYPO3-english] Customize content types
Philipp Gampe
typo3.lists at philippgampe.info
Thu Feb 24 21:00:14 CET 2011
Enrique Moreno Tent wrote:
> backColor = #aec924
> transparentBackground = 1
> transparentColor = #aec924
> transparentColor.closest=1
Try
backColor = ...
backColor.override = someothercolor
backColor.override.if.field = header_layout
backColor.override.if.equals = some-value
I don't know if the "if" ist correct with all parameters, have a look into
TSref to find out what you can do (look under stdWrap).
If you want more then one value, you might need to use case instead of "if".
The third way ist to do
[globalVar=TSFE:page|header_layout=somevalue]
lib.stdheader.10.file.backColor = anothercolor
[global]
You can repeat this condition as often as you like for different values, but
they must be after the original definition and outside any "{" or "}"
Best regards
--
Philipp Gampe
More information about the TYPO3-english
mailing list