Hi,

I recently upgraded from 4.7 to 5.x, but I can't seem to find the "my groups" block anywhere. I have a large amount of OGs that users can subscribe to, and they generally access their groups through that block. Is there an easy way to re-create / enable it, or is there some new workflow for users to access all of their groups?

Thanks!

s.

Comments

moshe weitzman’s picture

Status: Active » Closed (fixed)

check if it is enabled on your block admin page. also check that your grop node type is still speicified as a group node type in admin/og/og. og_basic.module is no more.

spyderpie’s picture

Status: Closed (fixed) » Active

I hope it was okay to reopen this, rather than posting a separate one of the same issue ...

I have a fresh install and check those thing and I can't find the My Groups block either. There are other block visible -- but not that one.

Is there anything else I can check?

Julie

scor’s picture

I have the same problem.
It looks like og.module doesn't have its own 'my groups' block anymore, hence the comments in the of.module file:

    // Now provided by og_views. Please don't reuse this number 4
    // $blocks[4]['info'] = t('My groups');

There is no such block on my admin page. How to install that block. The url 'og/my' works and therefore views as well, but how to activate the 'My groups' block?

scor’s picture

The block 'Group notifications' offers a link to the 'my group' page, but that's all. A block containing all the groups I belong to would be useful.

firebus’s picture

Status: Active » Closed (works as designed)

based on the comments you quoted in your previous post, it looks like you'll have to install the og_views module if you want this block.

firebus’s picture

Assigned: Unassigned » firebus
Category: bug » support
Status: Closed (works as designed) » Active

wait what? okay, there's no og_views module. i'm on crack. i guess the comments really do mean that the block has been replaced by the og_my view (which only provides a page and a menu item)

it should be pretty easy to make a block view (perhaps clone the og_my view and enable the block) that does this...

firebus’s picture

Status: Active » Fixed

that's what you want to do.

  1. admin->build->views
  2. add the og_my view
  3. clone the og_my view, name the new view og_my_block
  4. edit og_my_block
    1. disable page view
    2. enable block view
    3. remove all fields except node title
  5. enable the block at admin->build->block
scor’s picture

Yes that works. Good idea Firebus! Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)
Walt Esquivel’s picture

To firebus' excellent instructions in #7, I'd like to add just a few of my own. Thanks firebus, you really helped me out!

4. edit og_my_block

4a. disable page view

4b. enable block view

4b1. Under “View type:”, select “Table View” for a concise view. Feel free to play with the other choices and you'll see what I mean.

4b2. Under “Title”, name it “My groups”. This will have the same bold look and font that other blocks have.

4b3. Under “Nodes per block”, I selected 10, but you can choose as few or as many as you like.

4b4. Under “[More] Link?”, I checked the box so that if there are more than 10 groups my users belong to, they can click the "More" link.

4c. remove all fields except node title

4d. remove node title's “Label” which, to me, is redundant since the new block I just created is named “My groups”

Crimson’s picture

Thanks a lot firebus. :)

dwees’s picture

Problem with this is you lose the very useful More link.