[TYPO3-dev] Really weird skin CSS problem

Tapio Markula tapio.markula at dnainternet.net
Sat Aug 12 14:54:40 CEST 2006


Hei

I found a really weird skin CSS problem.

I made into ext_tables.php


if ($_EXTCONF['enable.']['TinyMCEStyles'])
	$TBE_STYLES['stylesheet2'] = $temp_eP.'TinyMCEStyles.css';
else
	$TBE_STYLES['stylesheet2'] = $temp_eP.'normalStyles.css';
	

Well that worked ok, except typo3link plugin of tinyrte

When that was disabled,
in the HEAD-part of the document was link to
normalStyles.css file
But the browse link used TinyMCEStyles.css

I can't understand how this can happen because
there was not any link tag to that file in the HEAD part of the document.
There was
<link rel="stylesheet" type="text/css" 
href="../typo3conf/ext/skin_grey_2/normalStyles.css" />

Tested changing some CSS in
TinyMCEStyles.css and normalStyles.css

Changes in TinyMCEStyles.css had affect - not any changes to 
normalStyles.css.

The file behaved as if in the HEAD part could be
<link rel="stylesheet" type="text/css" 
href="../typo3conf/ext/skin_grey_2/TinyMCEStyles.css" />

That *was* used earlier. I can't understand why
the switch doesn't work for a one file.




More information about the TYPO3-dev mailing list