Plugin

EE 1
EE 2
MX Mobile Device Detect

Developer

Max Lazar

3rd Party (Free)

Creative Commons Attribution Non-Commercial Share Alike

Compatibility

Requirements

  • jQuery for the Control Panel

Tags

MX Mobile Detect is a small plugin that detects if a template was requested by a Mobile Device.

{exp:mobile_detect location="http://m.site.com/"} 
{exp:mobile_detect location="http://site.com/" redirect="not_mobile"} 
{exp:mobile_detect location="http://site.com/" ipad="http://site.com/ipad/" android="http://site.com/android/"} 
{exp:mobile_detect}
    {if device == "ipad"}
        Hello Steve
    {/if}
    {if device == "android" }
        Hello Bender
    {/if}
    {if not_mobile}
        Hello ...
    {/if}
{/exp:mobile_detect} 

MX Mobile Device Detect Links

This entry was last updated June 29, 2011, 9:56 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

3 Reviews:

JCDerrick 07.09.11

JCDerrick
Rating - {addon_rating_average}

This is an awesome add-on and Max has done a great job with it. I still am having trouble getting it to recognize my iPad 1, but other than that this is a great plugin for recognizing mobile devices. The latest version with device recognition takes it to a whole new level!

Narration 04.15.11

Rating - {addon_rating_average}

Max,  you’ve done it again, made something very useful.

I’m also intrigued about the side-usage of handling ie6.

Thank you.

manimac 12.28.10

Rating - {addon_rating_average}

easy and useful plugin! thanks Max :)