[TYPO3-core] RFC: #9149: Additional Stylesheets in template.php

Steffen Kamper info at sk-typo3.de
Thu Sep 18 23:10:51 CEST 2008


Martin Kutschker schrieb:
> Benjamin Mack schrieb:
>> Hey all,
>>
>> I thought about the whole thing. I does not make sense to have an extra
>> function for this, that is similar to the loadJSlib function:
>>
>> * Unlike JS libraries, a lot of extensions (most of them, skins) want to
>> overwrite the default stylesheets.
> 
> Don't think so. I often want only to add a few lines, but even that's
> not easy.
> 
>> * The whole thing is a bit limited right now in template.php with
>> $stylesheet, $stylesheet2 and $post_stylesheet. Basically, we'd need an
>> assoc. array for that. You fill in the files you need and can also
>> override std files. Once you compile the output, you process the array
>> and fill in the backPath at that point. This way, we can even use that
>> array in the constructor.
>>
>> I already created a patch and sent it to Steffen some weeks ago. I hope
>> he can send in the patch here (after he tweaked it) and we can discuss
>> it here again.
> 
> What's the state now? The current stuff is limited and a plain array as
> a replace isn't good enough.
> 
> Masi

Hi,

my bad. Benni sent me a patch for a more sophisticated solution but i 
had no time to really test it.
I will come up with this in a few days ;-)

vg Steffen


More information about the TYPO3-team-core mailing list