Bug #22633

Install Tool skin is sometimes wrong

Added by Lars Houmark about 5 years ago. Updated about 5 years ago.

Status:Closed Start date:2010-05-11
Priority:Should have Due date:
Assigned To:Steffen Kamper % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.4 Is Regression:
PHP Version:5.3 Sprint Focus:
Complexity:

Description

The Install Tool in 4.4 can run in two skin modes. One for being loaded in the backend (light) and one for being loaded as "standalone" (dark).

Currently, if you load the standalone version first and then login to the backend and load the Install Tool from there, it will use the design skin of the standalone (dark).

The detection is currently session based and does only happen on the initial load. As soon as the session is created there will be no more checks for which environment the Install Tool is running in.

Solution:

Switch to a JS only approach that checks if the current document location is the same as the top location, meaning, is the document loaded in a frame or not. If it is not loaded in a frame, the body gets a class="standalone" added which equals to the re-factored CSS.
(issue imported from #M14365)

14365.diff Magnifier (10.3 kB) Administrator Admin, 2010-05-11 20:11


Related issues

related to Core - Feature #22423: Install tool refactoring Closed 2010-04-11

History

#1 Updated by Steffen Kamper about 5 years ago

committed to trunk rev 7587

Also available in: Atom PDF