1

Im trying to create a view that will get the following:

Organic group: Name.
Organic group: Members.
Organic group: Number of published nodes.

Its sounds like an easy task but really it isnt. I got really confused with the type of view, and theres much relationships to be done, And after adding aggregation the view gets huge and frustrating.

I was thinking about creating each one as a separated view and embedding them on a page, but that might sound bad.

UPDATE here is whats expected of the view to produce.

Organic group: Group A.
Organic group: X, Y, Z.
Organic group: 3 open tasks.

Organic group: Group Alpha.
Organic group: Alpha, Beta, Gamma.
Organic group: 0 Open tasks.

Organic group: Power rangers.
Organic group: Green dude, White dude.
Organic group: 15 open tasks.

Tasks being the content type that belongs to an OG. Any help is greatly appreciated.

2
  • Number of published node in particular group only ? Oct 26, 2012 at 4:15
  • @mohit_rocks Yes, I updated the question to give and example. Thanks
    – saadlulu
    Oct 26, 2012 at 8:42

1 Answer 1

1

You are using Organic group module. So this module also provides two views called Og members and Og Content. Now download the module Views Field View which allows you to embed views as field in other view. See the Readme.txt file for more detail.

Create a new view and embed other two views Og members and Og Content in new view.

2
  • 1
    My thoughts pretty much. I think that Views Field View would be an unavoidable requirement for what you want to accomplish.
    – user5005
    Oct 26, 2012 at 9:34
  • @magtak you are right, I have worked on it, but today i don't have views code otherwise i would have straight away paste over here :-) Oct 26, 2012 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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