We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    I agree Susan, very much so... hmmm...
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 25663 MODX Staff
      • 12,272 Posts
      Susan, I am committing a patch for this momentarily ... along with the full relase version of Scriptaculous/Prototype, Adam.

      If you want to test early, in the document.parser.class.inc.php file, search for two instances of:

      $this->documentContent = preg_replace("/(<head[^>]*>)/i", "\\1\n".$js, $this->documentContent);


      and replace with:

      $this->documentContent = preg_replace("/(<\/head>)/i", $js."\n\\1", $this->documentContent);

        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me