[TYPO3-templavoila] html comments and TV

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jan 23 16:33:40 CET 2008


Hi!

Vladimir Podkovanov wrote: 
> Yeah, my script does exactly that - assigning style with filter
> property, and by the way it works in MSIE 5.5 too (and a lot of user
> using this browser - 4.3% in Russia - http://globalstats.hotlog.ru/).
> Anyway the point here is that this handling should be applied only to
> IE5.5-6 and so we need proper detection, conditional comments offer
> good way as needed code visible only for target browser.

Why do you need to assign filter with JS if you can put it to css file?

You always can check MSIE version inside the script.

> I know this, but if I want to comment out some part of html template -
> I can't do this. HTML comments is part of html standard and TYPO3's
> core itself putting many comments inside page, i.e. when inserting
> plugins etc., so I see no reason why web developer can't include own
> template's comments in output.

You can, use TypoScript. TV cannot do it due to TYPO3 html parser limitation.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-project-templavoila mailing list