We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11511
    • 12 Posts
    Hi
    where would I put all external javascript files for my website
    that Im building in Modx ?

    Thank you for any help offered.
    -- Gunz
      • 7231
      • 4,205 Posts
      You can put them anywhere you want to as long as you have the path correct in your templates. Some people like to put them in the assets/templates/yourTemplate folder (change yourTemplate to the name of your template).

      Some people create a folder on the root level of the modx install, outside of the assets folder.

      Bottom line is that you can keep your external files anywhere you want to as long as you have the correct path to the file.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 11511
        • 12 Posts
        Im gonna do that right now.
        Merry Christmas and again thank you so much for the help. smiley
        Much gratitude to you.
        -- Gunz