We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20413
    • 2,877 Posts
      @hawproductions | http://mrhaw.com/

      Infograph: MODX Advanced Install in 7 steps:
      http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

      Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
      http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
      • 4971
      • 964 Posts
      Thanks mrhaw, yes, that answer is higher up in this thread...

      I am interested in EE working with PHx, I found in the EE thread
      that maybe they work together if the EE call is cached. I will go
      try and report back...
        Website: www.mercologia.com
        MODX Revo Tutorials:  www.modxperience.com

        MODX Professional Partner
        • 3349
        • 126 Posts
        Quote from: bunk58 at Feb 23, 2009, 03:13 PM

        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

        Hi

        I’ve tried this and while it does work, im getting some cheeky characters appearing at the top of the page in question. (Between HEAD and TITLE tags)

        <!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" />
        


        Any ideas?
          • 24208
          • 17 Posts
          i am using ditto and phx on several sites and never run into this issue. thanx for sharing conclusion regarding template id, this helped me.. probably issue is corrected with yams, while in right order, but on the site i am working now there is no need for multilanguage, and i was not able to setup pagination for few hours.. again, thanx for sharing, definetly - pagination issue is caused by phx.