I use Drupal 7 with the Search API, and the Facet API modules.

I want to create a facet that shows all OG groups. When I click on an OG group all its content associated will be draw.

How can I achieve this?

1 Answer 1


Using the modules you described:

  • Create a index containing all the nodes that are group content
  • Edit the fields of this index and add a relationship to 'Groups' (at the bottom of the page)
  • You will get additional (group)fields available
  • Check the one named "Groups » title" and change the type to "string" (instead of default fulltext)
  • In the Facet tab, make the facet available, and place the block.

This should do the trick!

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.