Currently,
Lets say I have a wiki CCK type and want to show all wiki pages assigned to the current group in a views BLOCK on a group homepage.
As of now I can only choose ALL wiki post in ALL groups for the current user..
I need to be able to show only the wiki posts in the group that is currently displayed. So if the that particular group's "group details" block is being shown, I need to show only the wiki post for that group in the views block.
I imagine a views filter that works in the same way the group details block does. It only shows up when viewing the group homepage AND submitting, viewing and editing content for that group.

any php snippets would help as well.

Comments

moshe weitzman’s picture

Status: Active » Fixed

this is in 5 and HEAD versions now. sorry - no moe work on 4.7 unless a volunteer arises.

ZoeN’s picture

Version: 4.7.x-1.x-dev » 5.x-2.2
Status: Fixed » Postponed (maintainer needs more info)

The filter "Og: Post In Currently Visited Group" doesn't seem to be present in the og_views.inc that is included with og 5.x-2.2 . Am I demented?