[Vtigercrm-developers] ModTracker & vtlib modules?

Richard Hills - TechnologyWise richard at tw.co.nz
Fri Nov 9 01:54:56 PST 2012


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/



More information about the vtigercrm-developers mailing list