Issue Bug Closed

#51813TypoScript conditions: Condition for Windows 8 is missing

Chris topher 09/06/13, 14:22 updated 10/02/18, 12:10

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]

Reviews 1