MX Mobile Device Detect
MX Mobile Detect is a small and simple plugin to detect if the template was requested by Mobile Device or not…
Make a Donation
My add-on is free and freely available, but I encourage donations. Try it out now, there are no strings attached. Pay if you want, especially if you want to see improvements or more software listed here!If you use my add-on on multiple domains, sites or servers, would you consider donating for each use?
Download
Requirements
- ExpressionEngine 2
Example
{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 custom_agents="mobile/8a293"}
{if device == "ipad"}
Hello Steve
{/if}
{if device == "android" }
Hello Bender
{/if}
{if not_mobile}
Hello ...
{/if}
{if device == "mobile/8a293" }
Hello iPhone4
{/if}
{/exp:mobile_detect}

