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

Martin Kutschker masi-no at spam-typo3.org
Thu Sep 18 22:10:37 CEST 2008


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


More information about the TYPO3-team-core mailing list