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

    Before anything else, i’ve spent the couple of days searching for a solution to my problem to no avail sad.

    I am trying to install a form validation plugin for jquery which goes by simply adding a script tag beneath the script tag of jquery. The problem is that if i insert the tag manually into the template, it appears above the jquery tag thus rendering it useless like so:

    <head>
    <script src="custom script tag inserted through template"/>
    <script src="all the other script tags including jquery"/>
    </head>


    What file or function calls the jquery tag? or all script tags for that matter. How do i add script tags after these tags are called?
      • 26931
      • 2,314 Posts
      Hi jz10 ,

      where’s that jquery call coming from?

      if you place all js-files manually in your template, your order will be right
        • 15168
        • 3 Posts
        Hey there sharkbait,

        i’m also trying to figure that one out. I have no idea where it comes from. I think it’s a default modx script since after the fresh install twas already there. Maybe from one of the modules such as QE or the DOC
          • 26931
          • 2,314 Posts
          ah, okay...i see

          go to "Elements" -> "Manage Elements" -> "Plugins" -> "QM"

          there you find Quickmanagers Configuration tab where you can set "Load jQuery in front-end" to false, now you just need to call jQuery in your template header
            • 15168
            • 3 Posts
            AWESOME! thanks man laugh laugh laugh laugh laugh laugh laugh laugh laugh laugh