Integrate vTigerCRM 6.3 with Google Calendar – Part Two

Now that we have everything set up in our Google Developers Console here:

http://petkof.com/integrate-vtigercrm-6-3-with-google-calendar/

the next step would be to log in your hosting account File Manager or FTP/SSH – any way you prefer to manage your files and edit the following file:

~/modules/Google/connectors/Config.php

The file contains:

<?php

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

Class Google_Config_Connector {
static $clientId = ”;
static $clientSecret = ”;
}

Please fill in your Client ID and Client secret that we generated in the Google console and save the file.

All the above, you might have already figured out yourself or found the information searching in Google, but here is the tricky part. If you now log in your vTigerCRM application and navigate to Calendar -> Calendar List -> Google Calendar and hit the ‘Synchronize Now’ button, you will be asked to Authorize the application with your Google Account. Once you grant access to the application, the sync will start, but will never finish. It will just show the sync animation and will never complete.

The above issue is caused by the fact that in the latest versions of vTigerCRM, the developers actually forgot! to include some of the system files needed for the Google Sync to function!

As ridiculous as this might seem, I am writing this article on the 12th of October 2015 and the last vTigerCRM install package was updated on Source Forge on the 4th of June 2015. Why they did not update the package for almost 4 months – I don’t know, probably because of reasons!

Regardless of the above, a diligent community member uploaded the missing files on github here:

https://github.com/arie-piscator/vTigerGoogleSync

You will just need to upload the files he provided in the

~/modules/Google/handlers

directory (you will probably need to create it first as it will not even exist) and the sync will work. Greatly appreciated!

Good luck with your vTigerCRM 6.3 Google Calendar Integration.

If you are not confident on how exactly to

  • install your vTigerCRM application
  • migrate your vTigerCRM away from your current hosting provider
  • host your vTigerCRM application
  • integrate your vTigerCRM with Google Calendars and Google Contacts

You can always get in touch with me, I will gladly help!

An article by -


Always willing to learn new concepts and skills not only in the area of Internet and computers. Working as a Linux System Administrator.


5 comments… add one
  • Klaus July 27, 2016, 1:58 pm

    Hi,
    finally with your help I connected my google calendar with vtiger 6.5! Great!
    But how to sync with my contacts? Is there another solution?
    I find this in the contacts.php:
    const CONTACTS_URI = ‘https://www.google.com/m8/feeds/contacts/default/full’;
    const CONTACTS_GROUP_URI = ‘https://www.google.com/m8/feeds/groups/default/full’;
    const CONTACTS_BATCH_URI = ‘https://www.google.com/m8/feeds/contacts/default/full/batch’;

    Or how is it ???
    thanks anyway
    klaus

    Reply
    • Robin08 November 21, 2016, 8:45 am

      i am following the step what G Petkov Said. and It will just show the sync animation and will never complete. #Klaus can You please give me some Suggestion,

      I am using Vtigercrm 6.5.0 on localhost.please Help me to solve this Calendar and contact

      Reply
  • David Rojas September 12, 2016, 9:12 pm

    Hi, thanks for your support, at last I could connect google to my crm vtiger. Contacts goes ok but Calendar I got some kind of issue, it seems is connecting to my google calendar, I got none error, i got confirmation sync but with none records syncronized. So I noted that there is not a configuration button like missing. I cand configure contacts because there is a setup sync button but calendar it seems is missing. I use vtiger 6.3.0 , please if you can help me I will really appreciate it

    thanks in advance
    David

    Reply
  • Soluzioni Crm Italia November 27, 2016, 4:56 pm

    Hi and thanks a lot for your tutorial.
    I have followed several tutorial in order to try to sync my vtiger calendar with google calendar but for some reason I am not able to do it.
    At the moment, I run a 6.5 version and I am able to connect with google project.
    API seems working and after sycn I see the request on the google project.
    Unfortunatelly nothing happen on the calendar.
    I tried to:
    1) edit the vTiger calendar and then sync
    2) edit the Google Calendar and then sync.

    I’ve also changed my user email and put the google email related to the calendar.
    Any help would be more than appreciated!
    Thanks

    Reply

Leave a Comment