Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Basic Setup:
1) Enable the module (& the context module)
2) Add a new context
3) You will see 2 conditions in the conditions list called:
A. "User Page Owner" - Determines if global user is or is not the user page owner
B. "User Pages Role" - Determines the role of the owner of a user page
Typical reactions might be:
1) to set an active menu item when a user page is viewed for each different role
2) Display different blocks when a user page is viewed for each different role