Hia, and thanks for your great work with this one!
I have run into an issue that can be related to both og, panels, views, spaces, features and myself, but I believe this is where I might have the best chance to get a push in the right direction :)
I'm using og, spaces_og, features and context to try to build up a site a tad modeled after how Open Atrium works. In this site I wish to create a dashboard feature for groups which shows the group mission, latest post and some other stuff, and I'm using Panels for this. The other stuff works just fine, but I'm struggling with displaying the group mission.
In panels I have the option to add "mission" as content, but it does not show anything, and in og there is no filtering option for "current group". In views I am able to add node body filtered by the group node type, which indeed shows the group mission. Problem is it shows the missions for all groups.
So I'm thinking I could use the spaces filter in views to show the body (e.g. mission) for the group node when node is in current space, but when I do this I get no results in the view. I guess it might be because the group node isn't "in" a group as such, it "is" the group..? Or it might be a bug? Or there might be a different solution altogether?
In any case, any ideas on how to proceed here appreciated!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | og_frontpage.zip | 1.31 KB | vegardjo |
Comments
Comment #1
vegardjo commentedI got an e-mail asking whether I had solved this or not, and since I have I post it here: I've stopped using Panels for this, and we made a very tiny module called og_frontpage that takes the body field of a group node in a space and makes it available as a block, which I then present in a context.
Attached module here if someone runs into this and want to try it out.
Comment #2
jmiccolis commentedWe're not maintaining the 2.x branch of spaces any longer, so I'm setting this to "won't fix". I'd encourage you to take a look at Spaces 3.x