We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10164
    • 27 Posts
    @ bunk ,
    I tried your solution cos it was quicker but it doesn’t work!

    Do as Nick says and go into assets/plugins/managermanager/functions - utilites.inc.php
    and copy + paste the code in Nick’s post..

    Confirmed and working, 1 down 6 to go!

    Great work again Nick !
    Thanks


      • 25678
      • 36 Posts
      @Fresh79,

      I tried that solution and I got as far as viewing the ’utilities.inc.php’ file, but I after I replaced the "includeJquery" function with the code Nick gave, I realized there was no way to save my changes. How do I save it once I’ve completed the change? Or do I just need to create a new folder and delete the old one entirely?

      Thanks!

      Ruben
        • 25678
        • 36 Posts
        Nevermind, I figured it out. Cool! We’re good to go now.
          • 21257 MODX Staff
          • 730 Posts
          Thanks gentlemen smiley

          Mixing Nick and Ryan’s thoughts, implementing the fix was extremely simple.
          All I had to change in utilities.inc.php was

          ~old~
          ...
          google.load("jquery", "1");
          ...
          


          ~new~
          ...
          google.load("jquery", "1.2.6");
          ...
          

            Mike Schell
            Lead Developer, MODX Cloud
            Email: [email protected]
            GitHub: https://github.com/netProphET/
            Twitter: @mkschell
            • 34017
            • 898 Posts
            now that’s an easy way to do it.

            thanks netprophet
              Chuck the Trukk
              ProWebscape.com :: Nashville-WebDesign.com
              - - - - - - - -
              What are TV's? Here's some info below.
              http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
              http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
              • 25663 MODX Staff
              • 12,272 Posts
              I hadn’t looked at the code. Sorry for not doing that before hand. For anyone that’s curious, the Google loader APIs will load the latest version of whatever you’re calling, so if the latest versions in the 1.x branch would always be loaded by just using a "1", the latest version in the 1.2 branch could be loaded by using "1.2" and a specific version is loaded by calling it completely.

              1.3 came out a day or so ago, hence the issue and breakage.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 29298
                • 6 Posts
                thanks a lot !!
                i didn’t realized that managermanager was using an external script by default.

                i think i cannot live without this forum anymore...
                  • 7662 ☆ A M B ☆
                  • 276 Posts
                  help

                  Fatal error: Call to undefined function mm_hideField()


                  others function work good smiley
                    http://modx.im - Russian community
                    http://extras.evolution-cms.com - Repository for Evolution
                    • 21257 MODX Staff
                    • 730 Posts
                    I believe the function was changed to mm_hideFields() some time ago.
                      Mike Schell
                      Lead Developer, MODX Cloud
                      Email: [email protected]
                      GitHub: https://github.com/netProphET/
                      Twitter: @mkschell
                      • 16545
                      • 358 Posts
                      Then better to update docs/fields.htm manual description file:

                      This part ->
                      mm_hideField(’link_attributes’); // Hide the link_attributes field for all users
                      mm_hideField(’alias’, ’1’, ’3’); // Hide the alias field for users with role "1" editing documents using template ID "3"
                      mm_hideField(’tvmyVar’, ’2’); // Hide the template variable "myVar" for users with role "2"


                      Quote from: netProphET at Jan 20, 2009, 08:37 AM

                      I believe the function was changed to mm_hideFields() some time ago.