[Vtigercrm-developers] vt61 - ModTracker Summary Widget: 44 Years!
Rishab K
rishab.k at vtiger.com
Thu Oct 9 17:28:44 GMT 2014
Alan,
This is because in ModTrackerHandler.php we check for 'modifiedtime' as
fieldname
and updating the Status in vtiger_modtracker_basic
What is the fieldname of modifiedtime and createdtime within vtiger_field
for the given module
Regards,
Rishab
On Thursday, October 9, 2014, Alan Lord <alanslists at gmail.com> wrote:
> I remember someone else seeing this before... What the problem - why does
> it say 44 years ago, when it was just a couple of seconds?
>
> Cheers
>
> Al
>
> PS: ModTracker widget registered on my Module using the following
> bootstrap code:
>
> if ($module != false){
>> $url = "javascript:ModTrackerCommon.showhistory('$RECORD$')";
>> $module->deleteLink('DETAILVIEWBASIC', 'View History', $url);
>> $module->addLink('DETAILVIEWBASIC', 'View History', $url);
>>
>> // Insert tabid - will fail if in already as tabid is a primary
>> key
>> $query = "INSERT INTO vtiger_modtracker_tabs(tabid,visible)
>> VALUES(?,1)";
>> $adb->pquery($query, array($module->id));
>> }
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141009/f7c6e8f7/attachment.html>
More information about the vtigercrm-developers
mailing list