Project

General

Profile

Actions

Bug #51813

closed

TypoScript conditions: Condition for Windows 8 is missing

Added by Chris topher about 11 years ago. Updated about 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 #1

Updated by Chris topher about 11 years ago

  • Is Regression set to No
Actions #2

Updated by Stefan Neufeind about 11 years ago

Example of user-agent strings for IE10 on Win8:
http://msdn.microsoft.com/de-de/library/ie/hh920767%28v=vs.85%29.aspx

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)

Actions #3

Updated by Gerrit Code Review about 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783

Actions #4

Updated by Gerrit Code Review about 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783

Actions #5

Updated by Gerrit Code Review about 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783

Actions #6

Updated by Gerrit Code Review about 11 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24783

Actions #7

Updated by Stefan Neufeind about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF