We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    Another round of bugfixes for Reflect....


    Should I move the default templates for Reflect into the Ditto language file, create a language file specifically for Reflect, or leave them in the snippet as is?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I’d vote for the Ditto language file! Better than in the code, but not adding complexity with another language file.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 25663 MODX Staff
        • 12,272 Posts
        The version of Chunkie used for the prePHx file is out of date with the version used in Jot, and causes the snippet to error on some PHP 5.0.x installs. The include line is the main culprit in the class (line 15). Changing it to the following resolves the issues:
        		if (!class_exists("PHxParser")) include_once(strtr(realpath(dirname(__FILE__))."/phx.parser.class.inc.php", '\\', '/')); 


        (But there are other differences...)
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 18397
          • 3,250 Posts
          Ok, I’ll update the Chunkie file in the distribution and make another package. Can anyone test the upcoming (in an hour or two) version in a UTF-8 enviroment with special characters like umulates? On my test install I have some German characters in the content and date formats and it works fine but I have mmj... saying he can’t get it to work correctly.