WAP Detect Failure in TYPO3? Use WURFL Instead!

by Michael Cannon in TYPO3 · 0 comments

Beware of using [device = wap] in TYPO3, it’s outdated. As such Internet Explorer 8 is detected and your mobile code is activated.

Try using extension wurfl, based upon the Wireless Universal Resource File, instead as follows.

# Send mobiles to mobile site
[userFunc = user_wurfl_getDeviceCapability(is_wireless_device)]
	config >
	config.additionalHeaders = Location: 
	page >
	page = PAGE
	page.10 = TEXT

While I haven’t been successful getting wurfl2 working on a PHP 4 box, wurfl does fine.

Though documentation says that [device = wap] detection is over written, I haven’t found that to be the case.

Related Links

First published Oct 13, 2009.

Be Sociable, Share!

Related Entries

About Michael Cannon

Hello, I'm Michael Cannon, Peichi's smiling man, an adventurous water-ratchief technology officer, cyclist, poet, WWOOF'er and world traveler.

Previous post:

Next post: