We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40706
    • 128 Posts
    Before, after.. it does not matter. It needs to be done, otherwise there is no access to the GoogleDrive via API.
    I have written an short readme with the Link to the Google API Site.


    1. Its needed to go to https://code.google.com/apis/console/
    2. create an Project if there is no one.
    3. Then activate on Servies the "Drive API"
    4. On API Access you should create an client ID for an web application
    5. Set the Redirect URI to www.yoursite.com/assets/components/gdriver/auth.php
    6. Fill the ClientID, Client secret and your API Key into the System Settings of GDriver, found in the area gdriver
    7. Create an MediaResource for the GDriver, and try to Browse, you won`t see any files of directories! It just need to create an authentication request url
    8. Back on the System Settings an Description to the access_token appeared with an correct token-request link

    now all should be fine... [ed. note: m.engel last edited this post 11 years, 5 months ago.]
      • 38290
      • 712 Posts
      This looks great! I can't wait to check it out. Thank you for working on this and posting it m.engel. Speaking of autorization and Google apps, the BigBrother addon is a great example of linking to a Google authorization from within the Manager.
        jpdevries
      • Sounds very cool! Have bookmarked this thread and hopefully I'll have some time to test this soon smiley
          Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

          Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
          • 39184
          • 24 Posts
          I'm trying to get this to install to test and possibly help out if I can; however, the install stalls in version 2.2.6. Here is the output:

          /*
          * MODX Console Output
          *
          * @date 2013-01-28 22:03:17
          */
          Attempting to install package with signature: gdriver-0.4.0-beta1

          Package found...now preparing to install.

          Grabbing package workspace...

          Workspace environment initiated, now installing package...

          Running PHP Resolver.

          Setting extension_packages


          /* EOF */
            • 38878
            • 255 Posts

            Same deal here. Trying to run in modx cloud tho if that makes a difference.


            Quote from: breynolds13 at Jan 28, 2013, 09:03 PM
            I'm trying to get this to install to test and possibly help out if I can; however, the install stalls in version 2.2.6. Here is the output:

            /*
            * MODX Console Output
            *
            * @date 2013-01-28 22:03:17
            */
            Attempting to install package with signature: gdriver-0.4.0-beta1

            Package found...now preparing to install.

            Grabbing package workspace...

            Workspace environment initiated, now installing package...

            Running PHP Resolver.

            Setting extension_packages


            /* EOF */
              • 36704
              • 131 Posts
              Where did you get the gdriver-0.4.0-beta1?
              I cannot find any links to download.


              Quote from: harveyev at Feb 23, 2013, 12:47 AM

              Same deal here. Trying to run in modx cloud tho if that makes a difference.


              Quote from: breynolds13 at Jan 28, 2013, 09:03 PM
              I'm trying to get this to install to test and possibly help out if I can; however, the install stalls in version 2.2.6. Here is the output:

              /*
              * MODX Console Output
              *
              * @date 2013-01-28 22:03:17
              */
              Attempting to install package with signature: gdriver-0.4.0-beta1

              Package found...now preparing to install.

              Grabbing package workspace...

              Workspace environment initiated, now installing package...

              Running PHP Resolver.

              Setting extension_packages


              /* EOF */
                • 40706
                • 128 Posts
                Seems like the automatic creation of an Systemsetting fails. I will fix that very soon and upload it to the Addon repository.
                This beta version was an attachment to an forum post here.
                  • 38878
                  • 255 Posts
                  Great! Thanks much for providing this. Looking forward to checking this out.
                    • 43957
                    • 79 Posts
                    I'm really interested in trying this out and I've loaded the gdriver transport package to my Modx 2.2.8 site, but it hangs on installation:

                    Console running...
                    Attempting to install package with signature: gdriver-0.4.0-beta1
                    Package found...now preparing to install.
                    Grabbing package workspace...
                    Workspace environment initiated, now installing package...
                    Running PHP Resolver.
                    Setting extension_packages

                    Is there an updated version available?

                    Many thanks.
                      • 26322
                      • 5 Posts
                      Same here

                      I cannot find any links to download.


                      Quote from: alyainec at Feb 23, 2013, 01:08 AM
                      Where did you get the gdriver-0.4.0-beta1?
                      I cannot find any links to download.


                      Quote from: harveyev at Feb 23, 2013, 12:47 AM

                      Same deal here. Trying to run in modx cloud tho if that makes a difference.


                      Quote from: breynolds13 at Jan 28, 2013, 09:03 PM
                      I'm trying to get this to install to test and possibly help out if I can; however, the install stalls in version 2.2.6. Here is the output:

                      /*
                      * MODX Console Output
                      *
                      * @date 2013-01-28 22:03:17
                      */
                      Attempting to install package with signature: gdriver-0.4.0-beta1

                      Package found...now preparing to install.

                      Grabbing package workspace...

                      Workspace environment initiated, now installing package...

                      Running PHP Resolver.

                      Setting extension_packages


                      /* EOF */