We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24530
    • 100 Posts
    Hi!

    First of all: it is the first time I work with Jot - and it is great! And in general it works perfect ... but:

    But now I installed PHx as plugin ... and Jot isn´t showing anything (only some empty lines in the parsed HTML).

    MODx0.9.6-RC1 & Jot 1.1.2 together work perfect.
    MODx0.9.6-RC1 & Jot 1.1.2 & PHx 2.1.2 result in an empty comment area (Jot is showing nothing), PHx in the rest of the document works fine.
    As soon as I deactivate PHx Jot is showing again ...

    Do I have to "downgrade" PHx to another version?

    Thanks a lot!
    Tobias

    PS: all extentions are the current ones from the repository.
      my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
      • 7923
      • 4,213 Posts
      The PHx class that Jot uses is in jot archive in /includes folder. You can replace your plugin phx class with that file to see if it’s the PHx version.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 24530
        • 100 Posts
        I checked the two files (phx.parser.class.inc.php) - they are exactly the same (PHx 2.1.2)

        I have no Idea how to solve this problem ... it seems that the class is loaded ok (in all cases).

        If I run PHx as intended, Jot is displaying nothing.
        If I use the plugin just to load the class and comment everything else out, Jot will work fine (with the original plugin PHx class) but PHx will not parse the rest of the document undecided

        /*####
        #
        #	Name: PHx (Placeholders Xtended)
        #	Version: 2.1.2
        #	Author: Armand "bS" Pondman ([email protected])
        #	Date: Feb 13, 2007 8:52 CET
        #
        ####*/
        
        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':
        		$PHx->OnParseDocument();
        		break;
        } */



        Any Ideas?
          my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
          • 24530
          • 100 Posts
          maybee it helps (but didn´t help me):

          I changed enabled phxdebug for Jot (changed line 17 of chunkie.class.inc.php from $this->phx = new PHxParser(); to $this->phx = new PHxParser(1,50).
          The log shows exactly the same, no matter if the Jot-result is showing or not ... this means, PHx works fine, but somehow the PHx-plugin "removes" the Jot results ...
            my newest webpage [url=http://gitarren.zucali.at]Meisterwerkstatt f
            • 3232
            • 380 Posts
            I’m having this same problem, using 09.6.1 and PHX 2.1.2

            When the plugin is active i get no jot output, when its disabled jot displays fine.

            Anyone able to solve this?
              • 36451
              • 264 Posts
                • 6726
                • 7,075 Posts
                Not sure that’s what they are looking for Yoomai, this is only intended to workaround the placeholder issue (&output=`0` combined with &placeholders=`1`)
                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l'outil id
                  • 13560
                  • 5 Posts
                  Did someone found the solution? I would like to use phx and jot. The workaround is not a solution.

                  thx jan