We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    Hello all,

    I have the following message:
    Copy and paste the following code before the </head> tag in your test page code to include our JavaScript library file into your test page.

    Note: this code must only be placed on the test page. Do not put this code in a shared header, or in any file other than the test page.

    And was wondering if there is a snippet/plugin that will let me add scripts between <head></head> without including them in the main template?
    thanks in advance for any idea...
      • 25663 MODX Staff
      • 12,272 Posts
      You can use the regClient functions in a snippet on an individual page to accomplish that.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 27330
        • 884 Posts
        Sweet.
        thx Ryan!