[Vtigercrm-commits] [Vtiger development] #8181: disable / enable tracking fields at the ModTracker module
Vtiger development
vtiger-tickets at trac.vtiger.com
Mon Aug 11 14:32:00 GMT 2014
#8181: disable / enable tracking fields at the ModTracker module
-------------------------+-----------------------------------------
Reporter: holbi | Owner: developer
Type: enhancement | Status: new
Priority: unassigned | Milestone: 6.1.0
Component: vtigercrm | Version: 6.1.0 - wip
Severity: Medium | Keywords: tracking, field, ModTracker
-------------------------+-----------------------------------------
Dear vtiger Team,
Is there any method to exclude / include (or disable / enable ) fields
from the ModTracker module in a CustomModule without hacking the core
files of ModTracker?
In the core files of ModTracker
...\modules\ModTracker\ModTrackerHandler.php
there is a loop to handle all tracking fields of all tracking enabled
modules started about line 33.
foreach($delta as $fieldName => $values) {
if($fieldName != 'modifiedtime') {
}
}
It is easy to modify with extending the if conditions with the name of
fields that we would like to exclude from the tracking. But it is the core
hacking not recommended for the extension store.
Is there any other method not hacking the core files?
It would be very useful feature.
E.g. in our CustomModule there are 14 fields and only 4 of them to track.
All others are considered as system fields (similarly to the
'modifiedtime' field) and isn't necessary to track.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8181>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list