[TYPO3] stdWrap and comments

JoH asenau info at cybercraft.de
Tue Oct 30 03:03:59 CET 2007


> how is possible put code like this into header  <!--[if lte IE
> 6]><link rel="stylesheet" type="text/css" href="css/msie.css"
> /><![endif]--> ? Output of this TS is empty string.
>
> page.headerData = <!--[if lte IE 6]><link rel="stylesheet"
> type="text/css" href="css/msie.css" /><![endif]-->

headerData is an Array of cObjects so you should try this:

page.headerData.99 = TEXT
page.headerData.99.value = <!--[if lte IE 6]><link rel="stylesheet"
type="text/css" href="css/msie.css" /><![endif]-->

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list