I've created a few new content types (event, document, feature, etc.) beyond the default types (blog, page, story, etc.) and am able to create content of the new types in SuperAdmin role, but other roles that have create, edit, delete permissions for the new types can ONLY create the default types.
The new types have links (as expected) in the Administration and Navigation menus and the links are properly addressed (i.e., /node/add/event) but the links return only the next level up 'Create Content' page which lists only the default types. The Description for the selected new type is shown in the header area of the page, which suggests this is not a permissions problem, but the new types are not included in the list of choices. The links for the default content types work as expected, the links lead directly to the Create Content form for that type.
In trying to fix this I've:
- turning off all permissions and then turning them back on again,
- reset all cache,
- turning the test user's roles off and on again,
- compared settings of new and default content types side-by-side to assure they're the same
This is a standard Drupal 6.16 install that has been updated to 6.17 with only minor differences from my other sites that work properly. The biggest difference I see is that this site is using OG Subgroups whereas the other sites use OG without subgroups.
Does anyone have an idea for what is causing this, and more importantly, how to fix it?
Thanks
Comments
Comment #1
ldekay commentedFound the culprit... the OG Access Control module. New content types or existing types that have been altered must be Allowed for a group or Propagated Site Wide or they cannot be created by any role except the SuperAdmin. Other roles with Create Content Type privilege will see a message to set the Access Controls when they create a new type, but the SuperAdmin doesn't see the message because that role is above the control level. This is a real bear that's caught me in two different ways so far, even after I was aware of the trap. I hope this helps someone else avoid the hours of futile casting about for a solution.
Comment #2
nonprofitCoder commentedI'm having this exact issue.
When I have my "all access" role log in and try to create new "non-group" content, it just takes them to the Create Content page with only content types marked with "Standard group post" showing in the list. None of the content types marked as "Group Node" or "May not be posted into a group" will show. The link for these non "Standard group post" content types show in the navigation, but when I click their links, it just shows the list of "Standard group post" content types and doesn't show the add form like I was expecting.
It sounds very similar to what you describe above. However, I'm not sure where I go to "Propagate Site Wide" the content types I want editable by my "all access" role users.
Any points in the right direction would be very much appreciated!!
Thanks!
Kevin
Comment #3
nonprofitCoder commentedI went to the OG Content Types page and clicked Assign Content Types on "Site Wide" group at the following path:
admin/og/og_content_types/admin/-1
There I marked the "Require" check box next the various content types that were unchecked.
Once I did this, the Create Content list now included the missing content types. I was also able to add those missing content types.
Kevin
Comment #4
jpcurley25 commentedI just ran into this same issue on Drupal 6. I also cannot create any types of content with user #1 except for group posts.
When I go to the url
example.com/admin/og/og_content_types/admin/-1
and look at all content types viewable to OG, there are no "Require" checkboxes next to any of the content types. I was able to create 3 group/posts in the past and one instance of each but now I am trying to create another instance of an existing type. I hope you can help, thanks for your time!
~Jason