Refresh Software Documentation » Helios Calendar 1.x » Mobile Browser Sniffer

Click here for the current version of this page.

When it's Mobile Redirect setting is turned on Helios Calendar will "sniff" users' browser and attempt to determine if it is a mobile browser. If it is the user will be redirected to the Helios Calendar Mobile Site.

The criteria used to determine if the browser being used is a mobile browser works on common "keywords" present in mobile browsers User Agent string. The keyword list can be customized by editing the /events/includes/mobile/Agents.php file.

The redirect works using PHPs preg_match() function and the keyword list should be edited using standard regex formatting & metacharacters.