[TYPO3-core] RFC: Bug #6421: Introducing IECondition for TypoScript

Steffen Kamper steffen at sk-typo3.de
Tue Oct 30 13:47:51 CET 2007


"Benjamin Mack" <mack at xnos.org> schrieb im Newsbeitrag 
news:mailman.4173.1193745071.20721.typo3-team-core at lists.netfielders.de...
> Hey all,
>
> this is a SVN patch request.
>
> Type: Feature
>
> BT: http://bugs.typo3.org/view.php?id=6421
>
> Branches: Trunk
>
> Problem:
> If you want to add so called browser conditions for the IE like
> <!--[if IE 7]>
>     <link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
> <![endif]-->
>
> you always had to do this manually (e.g. through a HeaderData object).
>
> Solution:
> Add a new property to page.includeCSS. With
> page.includeCSS.file1 = fileadmin/styles.css
> page.includeCSS.file1.ieCondition = IE 7
>
> you'll get the result as above.
>
> Notes:
> Thanks for Steffen Kemper for writing the initial patch and testing my
> version :).
>
>
> -- 
> greetings,
> benni.
> -SDG-
>
> www.xnos.de // www.xnos.org
>
+1 - reading and testing

thx for taking care.

vg  Steffen




More information about the TYPO3-team-core mailing list