Actions
Bug #21966
closed_CSS_DEFAULT_STYLE
Start date:
2010-01-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I was just wondering why the following is hardcoded in the source:
public function addCssFile($file, $rel = 'stylesheet', $media = 'screen', $title = '', $compress = TRUE, $forceOnTop = FALSE, $allWrap = '') {
if (!isset($this->cssFiles[$file])) {
$this->cssFiles[$file] = array (
'rel' => $rel,
'media' => $media,
'title' => $title,
'compress' => $compress,
'forceOnTop' => $forceOnTop,
'allWrap' => $allWrap
);
}
}
Everytime I write css through _CSS_DEFAULT_STYLE in my extensions the media is set to screen - I need to set the media to "screen,print" or "all" for my printviews to look nice.
Is the only solution to XCLASS??
(issue imported from #M13252)
Files
Actions