[Vtigercrm-developers] Can we achieve this?

Alan Lord alanslists at gmail.com
Mon Jul 18 06:45:09 GMT 2016


On 17/07/16 14:19, kiran wrote:
>
> How do i add Update as a related module. I tried to add by using
> vtiger_relatedlist table as activity history. But i didn't work.
>

Get a handle to your module's object:

$module = Vtiger_Module::getInstance('GRN');

The run:

require_once('modules/ModTracker/ModTracker.php');
ModTracker::disableTrackingForModule($module->id);
ModTracker::enableTrackingForModule($module->id);

Al






More information about the vtigercrm-developers mailing list