I enabled the Group Details and Group Members block but no members were showing up. The Members tab was also missing.
I took a look at the views this module creates and found one error. It was in the OG extras group members view.
On the contextual filter "OG membership: Group ID", the part "WHEN THE FILTER VALUE IS AVAILABLE OR A DEFAULT IS PROVIDED" had a group type of comment. This should be node instead.
If you make that change (either in the module or manually in the view) it will work.
This is how to make the change in code:
Line 453 is "$handler->display->display_options['arguments']['gid']['validate']['type'] = 'og';"
Add a line after that and paste this:
$handler->display->display_options['arguments']['gid']['validate_options']['group_type'] = 'node';
This will change the default comment validator to node.
If you want to just swap out the file, it's included here.
Hope this helps
Comment | File | Size | Author |
---|---|---|---|
#2 | og_extras.views_default.zip | 3.37 KB | MrPhilbert |
Comments
Comment #1
MrPhilbert CreditAttribution: MrPhilbert commentedComment #2
MrPhilbert CreditAttribution: MrPhilbert commented