Bug #33137
closed
CSS concatenation only working for files with media attribute set to "all"
Added by Christian Hellmuth almost 13 years ago.
Updated about 6 years ago.
Description
When using the typoscript option config.concatenateCss = 1
the default concatenation handler will only process those CSS files that either have set the media attribute to "all" or have not set a media attribute explicitly in the PAGE.includeCSS
array.
It should work for all non-excluded files, meaning that a concatenated file for each media needs to be created (just like the extension scriptmerger does the job).
- Target version deleted (
4.6.4)
Thanks for your report, sounds valid. I know, why I did not like this as core functionality.. :-( Too many special cases..
- Status changed from New to Accepted
- Status changed from Accepted to Under Review
What's the status of this issue?
This is issue is still occurring in TYPO3 6.2 LTS.
When including several CSS files by TypoScript they are only merged if you don't define "media=screen".
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
how to test
config.concatenateCss = 1
page.includeCSS {
file1 = fileadmin/css/all-1.css
file1.media = all
file2 = fileadmin/css/print-1.css
file2.media = print
file3 = fileadmin/css/all-2.css
file3.media = all
file4 = fileadmin/css/print-2.css
file4.media = print
}
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/19398
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF