Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:modifications:googlecalendersync [2014/10/31 20:43] swarnat |
en:modifications:googlecalendersync [2014/11/01 11:15] (current) swarnat |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Google Calendar Sync ====== | + | ====== Custom Google Calendar Sync ====== |
- | mod61.01 | + | Tested with VtigerCRM 6.0 and 6.1! |
- | ALTER TABLE `vtiger_google_oauth` ADD `additional` TEXT NOT NULL AFTER `userid`; | + | To setup the Vtiger Google Calendar sync with another calendar than the default one, you could apply this modifications. |
+ | At first install latest version of my [[en:extensions:vtigercrm_tools|Vtiger Tools.]] **This is absolutely necessary,** because I use this module to implement to management logic. | ||
- | /* modified by swarnat - mod61.01 */ | + | You need to press the "initialize" button on the management view of Vtiger Tools in the section "Google Calendar" |
- | + | ||
- | At first install latest version of my [[en:extensions:vtigercrm_tools|Vtiger Tools.]] This is absolutely necessary, because I use this module to implement to logic. | + | |
===== 1. File: /modules/Google/connectors/Calendar.php ===== | ===== 1. File: /modules/Google/connectors/Calendar.php ===== | ||
Line 106: | Line 105: | ||
===== 3. File: /modules/Google/models/Module.php ===== | ===== 3. File: /modules/Google/models/Module.php ===== | ||
+ | This file only exist in vtigerCRM 6.1, becaus 6.0 don't support remove of Sync. | ||
=== 3.1 Search === | === 3.1 Search === | ||
Line 129: | Line 129: | ||
=== Insert After === | === Insert After === | ||
+ | <code php> | ||
/* modified by swarnat - mod61.01 */ | /* modified by swarnat - mod61.01 */ | ||
$calId = $controller->getCalendarId(); | $calId = $controller->getCalendarId(); | ||
Line 140: | Line 141: | ||
$controller->setCalendarId($calId); | $controller->setCalendarId($calId); | ||
/* modified by swarnat - mod61.01 */ | /* modified by swarnat - mod61.01 */ | ||
+ | </code> |