I want to disable all types of content types site wide except blogs. At the group level one or more content types could be enabled. I login in as site admin and when I access the OG Content Types page at http:///drupal/admin/og/og_content_types/admin and the go to the Assign Content Types -> Site Wide tab, all the checkboxes under the Allow Column are disabled.

Comments

rconstantine’s picture

Category: bug » support
Status: Active » Fixed

Right. Did you read the note at the top of that page/section? Looks like you didn't. I don't know why I bother. And if you are bothering to ask this question, that means you didn't even try to play with the settings to see what they do. (i.e. uncheck all of the 'REQUIRED' boxes, log in as a normal user, and see what types are available to you)

Nevertheless, to answer your question, either the content type is usable at the site-wide level or it isn't, so two sets of controls don't make sense. People won't see 'ALLOWED' types unless they are either 'ACTIVATED' or 'REQUIRED'. Since there is no place where you can set site-wide content types to 'ACTIVATED', the only choice is 'REQUIRED' as set on that page.

I know I'm being a little bit short with you, but that is a really easy thing to figure out on your own and I woke up on the wrong side of the bed today. :-( Anyway, have a nice day.

stansa’s picture

Well everyone is entitled to a bad day or two so no offense taken. I do agree that you
are making assumptions and being short :-)

I've been playing with this module and other OG related modules for the past 2 weeks. I've read
and reread the README and other notes over and over again. Finally, I decided to post this
as an issue.

I did read the note on the top of the page many times. In all honesty, I didn't understand that
note and what you were trying to communicate. But your explanation below has clarified it.
Like the saying goes "one man's mission is another man's minutae" :-)

Thanks for the detailed explanation. I'll play around with the settings some more and follow up
if required.

BTW, this is an excellent module. Good job.

rconstantine’s picture

I'll see about making the message on that page more clear.

stansa’s picture

I'm still not getting the desired behavior.

As site admin:
- I unchecked all the checkboxes under the Require column in Assign Content Type -> Site Wide.
I don't want any content to be enabled site wide.

As community_mgr (a role with permissions to create and edit stories, pages and blogs):
- I access the Create Content Link in the navigation menu and I am still able to post stories, pages and blogs to the PUBLIC site.

rconstantine’s picture

If your main menu has a 'Create content' link, then there is a problem with your installation. At install, the 'Create content' link is replaced with the 'Create general content' link and the weight of this module in the system table is increased to 3.

So although the name of the menu is not important, it makes me wonder if there were any other issues when you installed.

The first thing you should check is the weight of the module. If you have any other modules that manipulate the menu, you'll need to increase the weight of this module until it fires after them. That's the only thing I can think of for why the menu wouldn't update correctly. I have this installed on 4 different sites/systems with no problems - not that that helps you at all. Were you OG detail blocks successfully replaced by the ones from this module? You aren't having problems with the menus in that are you?

Anonymous’s picture

Status: Fixed » Closed (fixed)