3

I have a global variable, which is the id of a node representing a current organic group that changes every year. I'd like to have a rules view that filters on members of that group. I've added the right relationships and a filter on the group id of the membership entity. But I can't enter a token or a variable value in the filter dialog. What can I do?

2

Use contextual filter and Provide default value = PHP Code

enter image description here

| improve this answer | |
  • 1
    Better even: With the variable module installed, one can select "Variable" as "Type" in that dialog and then select the required variable. – Turion Jul 20 '14 at 12:28

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.