[TYPO3-core] RFC: #10997: Wrong order by CSS inclusion in template.php

Martin Kutschker masi-no at spam-typo3.org
Tue Apr 28 13:08:45 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> This is SVN patch request.
> 
> Type: Bugfix
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=10997
> 
> Problem:
> The additionalStyleSheets are included after inDocStyles. This makes it
> impossible to override CSS formats.

inDocStyles are the ones added by the module inline, right?

> Solution:
> Solution is simple: just change the inclusion order:
> 1.) additionalStyleSheets
> 2.) styleSheetFile + styleSheetFile2
> 3.) inDocStyle
> 4.) styleSheetFile_post

So why styleSheetFile_post last?

I don't know what gets broken, but this seems like a logical load order
to me.

1.) styleSheetFile + styleSheetFile2
2.) styleSheetFile_post
3.) additionalStyleSheets
4.) inDocStyle

But maybe we need to define which kind of CSS is supposed to go where.
We have basic module CSS, general skin CSS, perhaps special skin CSS for
the module...

Masi


More information about the TYPO3-team-core mailing list