Closed (fixed)
Project:
Views (for Drupal 7)
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2006 at 04:12 UTC
Updated:
22 Oct 2006 at 14:45 UTC
has anyone had luck with the og: Group nid argument? I created a block view with that argument, filtered to include nodes used in my groups, displayed the block on all pages on my site, but it's not returning anything on any of the pages...
Any ideas?
Comments
Comment #1
sodani commentedI'll also note that the nids are appearing in my group URLs. They display as domain.com/groups/##
Comment #2
merlinofchaos commentedblocks don't get arguments since there's no clean path from the URL to the block.
You'll need to use the PHP argument bit to add some PHP to extract the argument from the URL.
Try something like
Comment #3
sodani commentedWhat I'm trying to do is display one organic group content type as river of news and another as a table (and both within the main content area). After reading http://drupal.org/node/62099, my thinking was that I could add a view to organic groups, but am I taking the right approach?
Comment #4
merlinofchaos commentedWell, this approach adds a block, which isn't entirely a bad thing. I'm not exactly sure how to override a group page properly. At some point I need to mess with this just to see, because there are some really interesting things one could theoretically do using panels and OG and views together. Especially if panels gets user-generated panels as a possibility.
Comment #5
merlinofchaos commentedI believe this issue is, er, 'fixed'?
Comment #6
sodani commentedYeah, I think so. I just need to find some more threads on the topic.
Comment #7
(not verified) commented