[TYPO3-dev] tiny improvment for includeCSS / JS

Benjamin Mack mack at xnos.org
Thu Oct 4 16:33:35 CEST 2007


Hi Steffen,

I'll take care of it.
Could also add some text for TSref (the documentation) and where to add 
it in the documentation? This'll make the process a lot faster.

greetings,
benni.
-SDG-

www.xnos.de // www.xnos.org


Steffen Kamper wrote:
> Hi,
> 
> as there is the patch now in BT (http://bugs.typo3.org/view.php?id=6421)
> it's important that everybody who want that feature drop a note there, 
> otherwise it will not be recognized as an important feature.
> 
> So feel free to add a comment there.
> 
> vg  Steffen
> 
> "Steffen Kamper" <steffen at sk-typo3.de> schrieb im Newsbeitrag 
> news:mailman.1.1191190518.18553.typo3-dev at lists.netfielders.de...
>> Hi,
>>
>> i uploaded a patch here:
>> http://bugs.typo3.org/view.php?id=6421
>>
>> vg  Steffen
>>
>> "Tolleiv Nietsch" <info at tolleiv.de> schrieb im Newsbeitrag 
>> news:mailman.1.1191182982.27377.typo3-dev at lists.netfielders.de...
>>> Hi
>>> since conditional comments are a very common way of achieving a nice 
>>> Cross-Browser compatible webpage I'd suggest a tiny improvement for 
>>> "page.includeCSS" and "page.includeJS".
>>>
>>> I think it would be nice to have a additional option ".condition" for 
>>> those two properties. The usage could look like this:
>>>
>>> page.includeCSS.file1 = style.css
>>> page.includeCSS.file1.condition = foo
>>>
>>> rendered as:
>>>
>>> <!--[if foo]><link rel="stylesheet" type="text/css" href="style.css" 
>>> />![endif]-->
>>>
>>>
>>> So let me know what you think of this idea.
>>> I'd provide a patch to the Core-Guys if you'd also like to have that 
>>> feature.
>>>
>>> Best regards
>>> Tolleiv
>>
> 
> 
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list