I want to customise the contacts relationships tab screen to show if the listed contacts (Individuals) belong to a specific group or not. I'm not sure where to start and would appreciate any pointers. I wasn't sure whether I needed to customise a template or create an extension that uses a hook...
You can achieve this through following ways:
- Create ACL rule through UI to View Contact of specific group.
- Create an extension and use pageRun hook to alter the $rows send to smarty template.
- Create an extension and use aclWhereClause hook to restrict contacts to show.
- Probably not sure apiWrappers or selectWhereClause might also be used.
Note: Using #1 and #3 will be affected on all pages/forms/reports.
HTH
Pradeep