Changes

Jump to navigation Jump to search
m
Line 21: Line 21:  
|prerequisites=
 
|prerequisites=
 
|minversion=3.9+
 
|minversion=3.9+
 +
- Your instance must be on a secured URL (it must start with https:// and not with http://)
 +
 
- Having module openssl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "openssl". If you don't find, openssl module is not installed.
 
- Having module openssl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "openssl". If you don't find, openssl module is not installed.
   Line 26: Line 28:     
- Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed.
 
- Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed.
 +
 +
- To use the Maps and geocoding service, you must enable the billing on your Google account. Price is 0.005 € per address.
 
|note=
 
|note=
 
}}
 
}}
Line 120: Line 124:  
With Google Apps for work (not required for standard gmail account), permissions may be forced to "Ready only" instead of "Edit". To solve this, go onto  
 
With Google Apps for work (not required for standard gmail account), permissions may be forced to "Ready only" instead of "Edit". To solve this, go onto  
 
{{GoogleURLToSetupCalendarAppSharing}}
 
{{GoogleURLToSetupCalendarAppSharing}}
and check that sharing option of Agenda application allows sharing with external service account. [[File:Warning.png]] A 24h delay may be required to be able to return and finish step 5.
+
and check that sharing option of Agenda application allows sharing with external service account. [[File:Warning.png]] A 24h delay may be required to be able to return and finish step 5.
      Line 197: Line 201:  
==Setup of GMaps features==
 
==Setup of GMaps features==
   −
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "Enable API". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API".
+
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Service" -> "Enable API & Services". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API".
 +
 
 +
2) Create an API key of type "Server". You must check that the value for
 +
'''Restrictions relative to applications''' is on '''None'''
 +
'''Restrictions relative to API''' is on '''No restriction''' or, for a more secured usage, set to Restricted to the 2 APIs '''GeoCoding API''' and '''Maps Javascript API'''.
 +
Then save the API key on the setup page of module Google in Dolibarr, tab GMaps.
   −
2) Create an API key of type "Server" and enter it on the setup page of module Google in Dolibarr, tab GMaps.
+
3) You must enable the "billing" of APIs on your Google account (price is 0.005 € per geo-encoded address)
    
===Link to localize a specific address===
 
===Link to localize a specific address===

Navigation menu