Hi,
I don't know if it's just me, but I could not see the OG Admin Block fieldset and og_admin_block_exclude checkbox in the Orangic Groups tab in the content types settings page.
I moved the fieldset to the Menu tab and it seems to work fine.
I actually think it may be better suited to be leave it in the Menu tab - I also have the OG Menu module which has it's enable settings in that tab.
Nothing really to it:
$form['menu']['og_admin_block'] = array(
'#type' => 'fieldset',
'#title' => t('OG Admin Block'),
'#collapsible' => FALSE,
'#weight' => '50',
'#states' => array('visible' =>
array(':input[name="og_group_content_type"]' => array('checked' => TRUE))
),
);
$form['menu']['og_admin_block']['og_admin_block_exclude'] = array(
'#type' => 'checkbox',
'#title' => t("Exclude from OG Admin Block"),
'#default_value' => variable_get('og_admin_block_exclude_' . $node_type, FALSE),
'#description' => t("Exclude the content creation link for this node from the OG Admin Block."),
);
Comments
Comment #1
__cj commentedI think it should belong in the organic groups tab, and only display when the 'group content' checkbox is checked.
Which admin theme are you using? Are you seeing any JavaScript errors? It should be displayed at the bottom only if the 'Group content' checkbox is checked.
Comment #2
__cj commented