1

I want to create a block on the side of the page that will show registered users to a event. I already have a event type and calendar system + a registration system.

When a user registers for a event, I can get the view to display it. However, it is displaying literally ALL registration users for ALL events. I am trying to get the contextual filter to just narrow it down to the specific event, but cannot get it to work.

Any help?

  • Provide a default in your contextual filter. Otherwise it shows all content if no value is available. What module are you using to do the reference between user and event? – Niall Murphy Feb 14 '16 at 1:35
  • I am using the Registration module. – Shawn Feb 14 '16 at 1:42
  • @Shawn : please add that (crucial) info to your actual question (by edting it). – Pierre.Vriens Feb 14 '16 at 9:01
1

You don't use contextual filter for this, you need to use relationship.

Make sure the Registration Views module is enabled.

In views under Advanced, RELATIONSHIP click add and select User: Registration

  • Checkmark require this relationship.
  • Checkmark your registration type name.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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