Feature #11850
css for rzcolorbox inclusion
| Status: | New | Start date: | 2011-01-03 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | Raphael Zschorsch | % Done: | 0% |
|
| Category: | Frontend | Spent time: | - | |
| Target version: | - | |||
| Branch: | v4 | |||
| Votes: | 0 |
Description
I've noticed that the CSS for rzcolorbox are included as files:
typo3conf/ext/rzcolorbox/res/styleXX/css/colorbox.css
My suggestion is to include them via Typoscript:
plugin.tx_yourextension_pi1._CSS_DEFAULT_STYLE( /*all css rules here*/ )
I know it is not very elegant indeed, but this method has an advantage: the styles are automatically added by TYPO3 to its temporary css file, so there are less http requests
Do you think this could be a good idea?
Thank you
History
Updated by Xaver Maierhofer about 1 year ago
I think this way would be bad. In 4.6 > #config.moveJsFromHeaderToFooter = 1 config.compressCSS = 1 #config.compressJs=1 config.concatenateJsAndCss = 1 -> 1 css file and compressed> rzcolorbox add CSS wrong (i will open a new issue)