useragent Condition in TYPO3…!

# Defualt this Call
page.headerData.30 = TEXT
page.headerData.30.value =

# if device is iPhone this Call
[useragent = *iPhone*]

page.headerData.30 = TEXT
page.headerData.30.value =

[end]

#——————- I-Pad

[useragent = *iPod*]
page.headerData.30 = TEXT
page.headerData.30.value =

[end]

#——————- Android

[useragent = *Android*]

page.headerData.30 = TEXT
page.headerData.30.value =

[end]

[useragent = *iPad*]

page.headerData.31 = TEXT
page.headerData.31.value =

[end]

[globalVar = GP:L=1]
config.sys_language_uid = 1
config.language = en
config.locale_all = en_EN
[end]

[globalVar = GP:L = 1] && [browser = msie]
config.htmlTag_setParams = xmlns=”http://www.w3.org/1999/xhtml” xmlns:v=”urn:schemas-microsoft-com:vml” xml:lang=”en”
[END]

Leave a Reply