This is untested but you could replace the existing PHX Plugin code with :
/*#### # # Name: PHx (Placeholders Xtended) # Version: 2.1.3 # Author: Armand "bS" Pondman ([email protected]) # Date: July 13, 2007 # ####*/ include_once $modx->config['rb_base_dir'] . "plugins/phx/phx.parser.class.inc.php"; $e = &$modx->Event; $PHx = new PHxParser($phxdebug,$phxmaxpass); switch($e->name) { case 'OnParseDocument': if ($modx->documentIdentifier != 15) { $PHx->OnParseDocument(); } break; }
Where 15 is the ID of your Easy Events calendar page.
I did have something similar working on a site, but eventually Easy Events was dropped so I reverted the plugin code back to the original
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> "/>`*] " />`*] <title>Title</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="assets/css/960.css" rel="stylesheet" type="text/css" media="screen" />
&phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50
/*#### # # Name: PHx (Placeholders Xtended) # Version: 2.1.4 !! # Author: Armand "bS" Pondman ([email protected]) # Date: July 13, 2007 # Fix of base_path and option to exclude templates in config # Sep 02, 2009 by mrhaw ####*/ include_once $modx->config['base_path'] . "assets/plugins/phx/phx.parser.class.inc.php"; $e = &$modx->Event; $PHx = new PHxParser($phxdebug,$phxmaxpass); $exclude2 = ",". $exclude .","; $template = strpos($exclude2,",".$modx->documentObject['template'].","); switch($e->name) { case 'OnParseDocument': if ($template === false) { $PHx->OnParseDocument(); } break; }
&phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50 &exclude=Exclude Templates;string;Enter comma separated Template ID Numbers