[Vtigercrm-developers] ModTracker & vtlib modules?

Richard Hills - TechnologyWise richard at tw.co.nz
Fri Nov 9 02:36:32 PST 2012


Really sorry alan, not sure why I thought you said comments, I must be 
going insane.

I will check tracker tomorrow as I have some other things to do on the 
system also.

On 09/11/12 22:54, Richard Hills - TechnologyWise wrote:
> I added this to one of my custom modules this week, seemed to go fine so
> far.
>
> This is the script I used:
>>          require_once 'vtlib/Vtiger/Module.php';
>>          require_once 'modules/ModComments/ModComments.php';
>>          $commentsModule = Vtiger_Module::getInstance('ModComments');
>>          $fieldInstance = Vtiger_Field::getInstance('related_to', $commentsModule);
>>          $fieldInstance->setRelatedModules(array('MODULE'));
>>          $detailviewblock = ModComments::addWidgetTo('MODULE');
>
> On 09/11/12 21:51, Alan Lord wrote:
>> Are there any known issues with the above?
>>
>> I have enabled ModTracker for a custom (vtlib) module but it doesn't
>> seem to be recording (or displaying) anything.
>>
>> Just wanted to check before I start digging too deep.
>>
>> Cheers
>>
>> Al
>>
>> _______________________________________________
>> http://www.vtiger.com/
> _______________________________________________
> http://www.vtiger.com/



More information about the vtigercrm-developers mailing list