We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5282
    • 147 Posts
    Hi ! I just finished designing my new modx template, but i found two javascripts in the <head> of the default template, scriptaculous.js and prototype.js
    those files weigh 30ko !!
    can i remove them ?? ( are those scripts only used by the "quickedit" function ? i do not use it so ... )
      i’m not a native english speaker, sorry if there are any mistakes ! smiley

      Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
    • Remove them and see what breaks! I love trial-and-error! If you don’t use quickedit it shouldn’t hurt anything.
        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
        • 5282
        • 147 Posts
        i removed it, it seems it didn’t broke anything
        but the quickedit function is still there huh

        and maybe the all the statistics functions depend on those scripts ?

        thx
          i’m not a native english speaker, sorry if there are any mistakes ! smiley

          Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
        • To kill QuickEdit, go into the QuickEdit plugin and check the "Plugin Disabled" box.
            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
            • 5282
            • 147 Posts
            thanks, i could disable it,

            but are those scripts used by the statistics or access control functions ( or anythings else except visual effects ) ??
            or are they just visual effects ?

            thanks
              i’m not a native english speaker, sorry if there are any mistakes ! smiley

              Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
              • 33337
              • 3,975 Posts
              Dont worry, those are only visual effects smiley

              regards,

              zi
                Zaigham R - MODX Professional | Skype | Email | Twitter

                Digging the interwebs for #MODX gems and bringing it to you. modx.link
                • 5282
                • 147 Posts
                thanks for answering so quickly !
                  i’m not a native english speaker, sorry if there are any mistakes ! smiley

                  Pikkitux.com Website about Ubuntu Linux, Website Creation, and many other how-tos, tips and tricks ... ( French Language, and of course Modx Powered ! )
                  • 1764
                  • 680 Posts
                  Quote from: chucky at Dec 20, 2005, 10:53 AM

                  but are those scripts used by the statistics or access control functions ( or anythings else except visual effects ) ??
                  or are they just visual effects ?

                  QuickEdit has to place the scripts in the header for it’s own purposes. However, this will only happen when you are logged in as a manager user. Normal visitors should see your own template unaltered. Simply disabling the QuickEdit plugin as Susan suggested should remove the headers and QuickEdit.

                  Scriptaculous is mostly visual but there is a good bit of functionality there too (draggable elements and controls for instance) and prototype.js is almost completely non-visual (except for a couple of show/hide functions).

                  The scripts are fairly large for javascript but because it’s only manager users it won’t affect your normal visitor so I chose to use them instead of writing my own solutions from scratch.

                  Hope this helps.