Einzelnen Beitrag anzeigen
  #8  
Alt 17.08.06, 23:55
tami tami ist offline
Forum Zuschauer
 
Registriert seit: 17.08.06
Alter: 38
Beiträge: 10

Hab mir nun selbst eine Lösung gebastelt.

Code:
--- class.tslib_pagegen.php.orig        2006-08-17 23:37:19.980996600 +0200
+++ class.tslib_pagegen.php     2006-08-17 23:37:53.505900040 +0200
@@ -524,7 +524,7 @@
                                        $temp_styleLines[]='/* default styles for extension "'.substr($key,0,-1).'" */'.chr(10).$iCSScode['_CSS_DEFAULT_STYLE'];
                                }
                        }
-                       if (count($temp_styleLines))    {
+                       if (count($temp_styleLines) && (!($GLOBALS['TSFE']->config['config']['removeDefaultCSS'])))    {
                                if ($GLOBALS['TSFE']->config['config']['inlineStyle2TempFile']) {
                                        $GLOBALS['TSFE']->content.=TSpagegen::inline2TempFile(implode(chr(10),$temp_styleLines),'css');
                                } else {
somit kann man

config.removeDefaultCSS = 1

setzen und ist das Zeug los. Für das Java Skript gibts eine fertige TS Lösung (Warum nur für das JS ? komisch ....)

config.removeDefaultJS = 1

P.S. Typo3 Bugzilla ID:0004057

Grüße,
Tami
Mit Zitat antworten