Does anyone know how to create relationships between Post entity and Group entity. I have a view that lists group posts and I want to add group title on the same row. This issue (http://drupal.org/node/1006860) says it is possible, but it is probably not. But strange, since it is views integration basics.


it's possible, see the screenshot: (open image in new window to see full size) screenshot. Add the 2 relationships as "required" to only show nodes belonging to groups. The naming conventions of the group objects is very confusing to me, it helped me to look at the "og" and "og_membership" tables in the DB and then check the SQL that views builds for you.


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.