<div dir="ltr">Figured this one out. You've got to execute the function "enableTrackingForModule" in the ModTracker.php file on the tabid of the module you want to add them for.<div><br></div><div>And then, enable the widget style summary view by copying DetailViewSummaryContents.tpl and ModuleSummaryView.tpl from another module (I used Accounts) to your custom module's layouts dir.</div>
<div><br></div><div>Max</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 25, 2014 at 6:09 PM, Max Clarke <span dir="ltr"><<a href="mailto:max@smarte.com.au" target="_blank">max@smarte.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>Is there a way to add the ModTracker module and widget to a custom module?</div>
<div><br></div><div>I was successfully able to add the ModComments module and widget using the code in ModComments.php which seems to work fine.</div>
<div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Max</div></font></span></div>
</blockquote></div><br></div>