ExpressionEngine addons Lab


MX Mobile Detect is a small and simple plugin to detect if the template was requested by Mobile Device or not...

The latest release of MX Mobile Device Detect for ExpressionEngine 2 is available here


  • EE1 - PHP 4+, ExpressionEngine 1.6.5+
  • EE2 - PHP 5+, ExpressionEngine 2+


MX Mobile Device Detect contains a single plugin file. To install the new field type please follow the simple instructions below:
  • Download the MX Mobile Device Detect archive and extract the files.
  • EE1: Copy pi.mobile_detect.php to /system/plugins/
  • EE2: Copy pi.mobile_detect.php to /system/expressionengine/third_party/


{exp:mobile_detect location=""} 

{exp:mobile_detect location="" redirect="not_mobile"} 

	{if mobile}
	Is mobile device
	{if not_mobile}
	Is not mobile device


  • location=""
  • redirect="not_mobile" default - mobile
    redirect not mobile devices

Conditional variables

  • {if mobile} ... {/if}
  • {if not_mobile} ... {/if}

Change Log


  • 0.3.0 - 05/20/2010:
    New tags & parameters
  • 0.0.2 - 09/04/2009:
    Initial release

MX Mobile Device Detect

Download MX Mobile Device Detect  0.3.0

Version: 0.3.0
Released: 05/20/2010

Thank Me By ‘Buying Me A Cup Of Coffee'

Like my add-ons?
Consider buying me coffee.

Like it? Tweet it!

Digg itAdd to Stumbleupon Share whith Facebook

Follow me on twitter