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.
User Relationships provides individual panel pane visibility checks based on relationship status.
In order to use this functionality:
- Make sure that the User context has been enabled for the current variant (most likely current user)
- Add a new visibility rule for the pane you would like to control
- Select 'User Relationship' and configure for your use case.
Comments
Trying to restrict visibility based on User Relationship
Hello,
I'm working with Panels and UR and I see the option to adjust visibility settings for the User Relationship. The problem is, when I choose User Relationship under the pane's visibility settings, it attempts to go the next step,but redirects back to selecting the visibility setting.
I'm using:
Ctools 7.x-1.2
Panels 7.x-1.2
User Relationship 7.x-1.0-alpha4
Any ideas what's going on?
Thank you in advance!
Visibility Rule option not displayed
Just a hint:
If the UserRelationship option isn't there, flush the cache and run cron.