Hello,

I have set up chat rooms for my organic groups. Each chat room is a node. I would like to be able to add a link to one of these nodes for my groups, similar to the way I can add a page.

How can I accomplish this?

Comments

highvoltage’s picture

The only way I've ever known how to do this without programming anything was with views. Maybe you could create a view to display the node and filter using a group id argument.

The thread that helped me do this is here:

http://drupal.org/node/327795

tevih’s picture

thanks for the direction, but I'm a little lost. I created the view, as I think it should be. I also clicked the "provide menu as tab" but nothing shows up in my groups. I'm a little thick-headed. Can you help me with a step-by-step?

highvoltage’s picture

I had difficulty with in earlier instruction in that thread also, but near the end of that thread are some detailed ones.

The most likely problem is the path and argument you are using...

-make sure your argument is set to 'Organic groups: Groups'

-in the argument settings make the validator 'Group nodes'

-the view needs to have a page display with a path of 'node/%/og/pagetitle'. Replace 'pagetitle' with the name you want for the view page.

Those are pretty much the only differences between a normal view and one that will create a tab for groups.

tevih’s picture

Hm.. I gave an argument of OG: Group nid(s). There was no option of Organic Groups: Groups. Also, in the path area, there were specific instructions regarding creating view for groups, and it followed the pattern of 'node/$group/custom'; not 'node/og...' However, these didn't work either.

Are you maybe giving me instructions for Drupal 6 instead of 5?

highvoltage’s picture

I feel like a giant moron. Yes, I was thinking drupal 6. So rare to see 5.x I've become blind to the version tag. Sorry for wasting your time like this.

tevih’s picture

No problem - I appreciate your time spend on my behalf.

do you have any thoughts on what may be the issue? While the specifics seem a little different, the concepts seem the same across both D5 and D6, and I would think what I'm doing should be working.