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
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

ezra-g - June 19, 2008 - 22:21

Perhaps we need 2 arguments: Child Groups and All Children posts.

#2

Amitaibu - June 22, 2008 - 16:28

First related commit - http://drupal.org/cvs?commit=122861

First steps of views integration. Argument to get subgroups of a group parent.

Please note that you should only use 'Return page not found' or 'Empty text' as other argument options are not yet implemented.

#3

moshe weitzman - June 22, 2008 - 16:26

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

Kars-T - October 27, 2008 - 10:28

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

moshe weitzman - December 11, 2008 - 15:14
Title:Subgroups integration with views module» Subgroups integration with views module (D5)

Clarifying, since D6 is done for free by book module

 
 

Drupal is a registered trademark of Dries Buytaert.