ExpressionEngine addons Lab


MX Ajax Detect is a small and simple plugin detect is template was request by AJAX or not. For example, you create a website where all links opens in modal windows by ajax. But what happened if user turned off his javascript? The better to bee sure that user will see a full page not only simple block for modal windows. One of way is to use Ajax Detect plugin.


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


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


	{if ajax} 
		special  code for ajax
		for request without ajax

Change Log


  • 2.0.1 - 12/02/2009:
    Initial release


  • 0.04 - 08/22/2009:
    Initial release

MX Ajax Detect

Download MX Ajax Detect  0.04

Version: 0.04
Released: 08/22/2009

Download MX Ajax Detect  2.0.1

Version: 2.0.1
Released: 12/02/2009

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