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...

1 Answer 1


You can achieve this through following ways:

  1. Create ACL rule through UI to View Contact of specific group.
  2. Create an extension and use pageRun hook to alter the $rows send to smarty template.
  3. Create an extension and use aclWhereClause hook to restrict contacts to show.
  4. Probably not sure apiWrappers or selectWhereClause might also be used.

Note: Using #1 and #3 will be affected on all pages/forms/reports.




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.