Hi,
1. Addons are installed under certain "Recordset". So you have to choose one already existing recordset. E.g. We will get Companies. String identifier of Companies is "company"
2. We have to create some module - let it be Custom/MyMod
3. We have to install (tell RB that we want an addon under Companies)
// parameters: recordset, Addon module, addon func, Label
Utils_RecordBrowserCommon::new_addon('company', 'Custom/MyMod', 'company_addon', 'My Custom Addon');
4. We have to create non-static function named "company_addon" in Main part of module. It will get record as a parameter
class Custom_MyMod extends Module {
...
function company_addon($r) {
// here put your code to call under addon
}
}
For more info check out some existing code.
Regards,
Adam