[TYPO3-core] RFC #11611: Add feature condition on the includeCSS / includeJS

Francois Suter fsu-lists at cobweb.ch
Sun Aug 2 11:33:43 CEST 2009


Hi,

> I think it's fine to just allow stdWrap here that adds some more
> possibilities to modify these resources - example:
> 
> page.includeJS {
>   file1 = fileadmin/file1.js
>   file1.allWrap.wrap = <!--[if IE 6]> | <![endif]-->
> }

This seems much cleaner. I think that the conditions proposed by this 
patch are hardly readable and we should try to avoid adding more 
unreadable stuff to TYPO3 (TypoScript conditions are bad enough, what 
with each (nearly) having a different syntax...).

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list