This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation. |
Difference between revisions of "Google Drive"
From Group-Office Groupware and CRM Documentation
(→Installation instructions) |
(→Installation instructions) |
||
Line 11: | Line 11: | ||
http://your.domain/groupoffice/index.php?r=googledrive/file/connect | http://your.domain/groupoffice/index.php?r=googledrive/file/connect | ||
− | Make sure that | + | Make sure that: |
+ | |||
+ | #The '''Drive API''' is enabled at the services page. | ||
+ | #your.domain matches the domain you login with in Group-Office and that there's no or a matching $config['full_url'] configured in Group-Office. Otherwise you'll get a login prompt and editing will fail. | ||
Once your key is setup enter the following values in config.php: | Once your key is setup enter the following values in config.php: | ||
Line 18: | Line 21: | ||
$config['googledrive_oauth2_client_id']=''; | $config['googledrive_oauth2_client_id']=''; | ||
$config['googledrive_oauth2_client_secret']=''; | $config['googledrive_oauth2_client_secret']=''; | ||
− | |||
</pre> | </pre> | ||
Revision as of 12:08, 11 November 2013
The Google Drive module (Available since 4.1.25) allows you to edit your Group-Office documents with the Google editor in the browser. The following video demonstrates it.
Installation instructions
Visit https://code.google.com/apis/console and generate an API key and OAuth 2.0 credentials for your Group-Office installation. You'll need to enter a redirect URL. For this URL you must enter:
http://your.domain/groupoffice/index.php?r=googledrive/file/connect
Make sure that:
- The Drive API is enabled at the services page.
- your.domain matches the domain you login with in Group-Office and that there's no or a matching $config['full_url'] configured in Group-Office. Otherwise you'll get a login prompt and editing will fail.
Once your key is setup enter the following values in config.php:
$config['googledrive_oauth2_client_id']=''; $config['googledrive_oauth2_client_secret']='';
Now install the module in Group-Office at Start menu -> Modules -> Install and grant permissions.
Now editing should work by connecting your personal Google account!