[TYPO3-templavoila] Can I keep <!--[if lte IE 6]> as header part?

Klaus Brinch klaus at mocsystems.com
Thu Apr 23 22:24:00 CEST 2009


As a little extra i usually wrap the headerdata for the IE conditional 
in this:

[browser = msie]
page.headerData.3 = TEXT
....
[global]

-so we only serve it to IE browsers, and leave the rest alone.

Kind Regards
Klaus, MOC Systems


Martin Bless skrev:
> [Philipp Holdener] wrote & schrieb:
> 
>> You can't mapp conditions in the templavoila mapping tool.
>> You have to use typoscript
>>
>> page.headerData.3 = TEXT
>> page.headerData.3.value (
>> <!--[if lte IE 6]>
>> ...
>> <![endif]-->
>> )
> 
> Yes, I found the same info in the wiki:
> http://wiki.typo3.org/TemplaVoila#Adding_custom_code_to_page_header
> 
> Now I swear to myself to look there more often ...
> But you never can be sure until you've asked here - see Steffen's
> answer :-)
> 
> Martin


More information about the TYPO3-project-templavoila mailing list