Project

General

Profile

Actions

Bug #51813

closed

TypoScript conditions: Condition for Windows 8 is missing

Added by Chris topher almost 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-09-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TypoScript condition matching currently recognizes all kinds of operating systems (e.g. Windows Vista or Windows 7), but not Windows 8.

Add a check for Windows 8 to sysext/core/Classes/Utility/ClientUtility.php and - if matched - add a value in $browserInfo['all_systems'], e.g. "win8".

Afterwards matching Windows 8 will work just as matching any other Windows-based OS:

[system = win8]
page.10=TEXT
page.10.value=I am running Windows 8
[ELSE]
page.10=TEXT
page.10.value=I am NOT running Windows 8
[GLOBAL]

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #77462: TypoScript conditions: Condition for Windows 10 is missingClosed2016-08-09

Actions
Actions

Also available in: Atom PDF