The tab supposedly only for group admins displays for all members at the top of the Group homepage.

I'm using the latest dev that was committed today.

Comments

joewang’s picture

In addition, the tab shows up for all standard group content (not just designated group nodes)

Anonymous’s picture

The "working" development release was only available for download from today (10th October) and your posts are from the (9th October) so it may be you are using the broken development release.

If you would confirm your using the latest release , ill then investigate you problem(s) later today.

Thanks for you help.

Paul

joewang’s picture

I just grabbed the latest dev (10/10) and it's the same behavior.

joewang’s picture

In the latest CVS, og_content_types_admin.module says:

function _og_content_type_admin_is_admin_access_callback($nid){
  $group = node_load($nid);
  //$return  = (isset($group->og_selective) && _og_content_type_admin_is_admin($group)) ? TRUE : FALSE;
  return TRUE;
  return $return;
}

Is the code right here, or just for debugging? This probably causes the tab to show everywhere.

joewang’s picture

Status: Active » Needs review

I think I fixed this by uncommenting your line and getting rid of return TRUE;

Anonymous’s picture

Assigned: Unassigned »

looking into this now ...

Anonymous’s picture

Status: Needs review » Fixed

Thanks Joe,

That modification was left over from migration work . I'll have the correct version committed by the end of the week.

Best, Paul

Anonymous’s picture

Status: Fixed » Closed (fixed)