Subgroups integration with views module (D5)
Amitaibu - June 19, 2008 - 22:07
| Project: | Subgroups for Organic groups |
| Version: | 5.x-4.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Clearly an integration is needed.
I've done some thinking and I think what we need at first step is an argument OG Subgroups: Parent nid. Argument will return all groups nodes.
IMO it shouldn't return group posts (i.e. not group nodes), as this is OG's job to so.
Ezra, do you agree? Anyone else has a better suggestion?

#1
Perhaps we need 2 arguments: Child Groups and All Children posts.
#2
First related commit - http://drupal.org/cvs?commit=122861
Please note that you should only use 'Return page not found' or 'Empty text' as other argument options are not yet implemented.
#3
With Views2, all we need is a relationship for parentNid. After that, we can bring in data about that nid or all its posts without any further work. I have no a particular about how Views1 is implemented.
#4
I tried the code from the new views.inc and it seems to work. I believe this is a very important update to subgroups!
Please release this good work even as beta to the public! :)
#5
Clarifying, since D6 is done for free by book module