<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p><span>Hi Alan,</span></p>
<p><span>Although 'Mod Tracker' is a module, it has some scripts built-in in order to work properly. If someone wants to add a similar module, he would have to add scripts, e.g. here: </span></p>
<p>in file data\CRMEntity.php in function trackLinkedInfo and trackUnLinkedInfo</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>// @Note: We should extend this to event handlers<br />if(vtlib_isModuleActive('ModTracker')) {<br />// Track the time the relation was added<br />require_once 'modules/ModTracker/ModTracker.php';<br />ModTracker::linkRelation($module, $crmid, $with_module, $with_crmid);<br />}</p>
</blockquote>
<p> </p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>// @Note: We should extend this to event handlers<br />if(vtlib_isModuleActive('ModTracker')) {<br />//Track the time the relation was deleted<br />require_once 'modules/ModTracker/ModTracker.php';<br />ModTracker::unLinkRelation($module, $crmid, $with_module, $with_crmid);<br />}</p>
</blockquote>
<div>We solved it at the same time when we improved the handlers, you can see an example of the solution here: <a href="https://github.com/YetiForceCompany/YetiForceCRM/commit/58e930bba74f1f1fe5778dc1780dd1090a469914" target="_blank" rel="noreferrer">https://github.com/YetiForceCompany/YetiForceCRM/commit/58e930bba74f1f1fe5778dc1780dd1090a469914</a> this solution could be implemented to Vtiger 6.3.</div>
<div>---<br />
<p>Z poważaniem / Regards</p>
<div> </div>
<div><strong>Mariusz Krzaczkowski</strong></div>
<div><em>Director of Product Development</em></div>
<div>M: +48 884-998-123<br />E: <a title="Mail do Mariusz Krzaczkowski" href="mailto:m.krzaczkowski@yetiforce.com" rel="noreferrer">m.krzaczkowski@yetiforce.com</a></div>
<hr />
<p><span>We created an innovative open source project called YetiForceCRM. You can test it </span><a href="https://test.yetiforce.com/" rel="noreferrer">here</a><span>, </span><a href="https://github.com/YetiForceCompany/YetiForceCRM" rel="noreferrer">download</a><span> it for free or read its </span><a href="https://yetiforce.com/en/documentation.html" rel="noreferrer">documentation</a><span>. Follow us on </span><a href="https://twitter.com/YetiForceEN" rel="noreferrer">Twitter</a><span> to get real-time info about new functionalities and articles.</span></p>
</div>
<p> </p>
<p>W dniu 2015-05-22 07:17, Alan Lord napisał(a):</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On 21/⁠05/⁠15 19:52, Mariusz Krzaczkowski wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi all,<br /> What you need it is very easy to do this, just add a simple trigger<br /> handler, here's an example:</blockquote>
<br /> That's a great help -⁠ thanks Mariusz.<br /><br /> But what I don't get is how Mod Tracker is picking up this event without your modifications?<br /><br /> Alan<br /><br /> _______________________________________________<br /><a href="http://www.vtiger.com/">http://www.vtiger.com/</a></div>
</blockquote>
</body></html>